vfsfitvnm / frida-il2cpp-bridge

A Frida module to dump, trace or hijack any Il2Cpp application at runtime, without needing the global-metadata.dat file.
https://github.com/vfsfitvnm/frida-il2cpp-bridge/wiki
MIT License
1.06k stars 204 forks source link

il2cpp: couldn't invoke method .ctor as it needs 2 parameter(s), not 1 #507

Open Redsob opened 7 months ago

Redsob commented 7 months ago

First of all, thank you for bringing me a lot of fun with your project When I was using 'trace' in a game(No problem with other games), I found this error message

Il2Cpp.trace(true)
.classes(cl)     
// .filterMethods((method) => method.name.includes(""))     
.and()     
.attach();

output is

il2cpp: couldn't invoke method .ctor as it needs 2 parameter(s), not 1     
at invokeRaw (/node_modules/frida-il2cpp-bridge/dist/index.js:2411)     
at maybeObjectHeaderSize (/node_modules/frida-il2cpp-bridge/dist/index.js:2568)     
at get (/node_modules/frida-il2cpp-bridge/dist/index.js:2479)     
at toString (/node_modules/frida-il2cpp-bridge/dist/index.js:3200)     
at concat (native)     
at callback (/node_modules/frida-il2cpp-bridge/dist/index.js:1312) 
il2cpp: couldn't invoke method .ctor as it needs 2 parameter(s), not 1     
at invokeRaw (/node_modules/frida-il2cpp-bridge/dist/index.js:2411)     
at maybeObjectHeaderSize (/node_modules/frida-il2cpp-bridge/dist/index.js:2568)     
at get (/node_modules/frida-il2cpp-bridge/dist/index.js:2479)     
at toString (/node_modules/frida-il2cpp-bridge/dist/index.js:3200)     
at concat (native)     
at <anonymous> (/node_modules/frida-il2cpp-bridge/dist/index.js:1307)     
at map (native)     
at callback (/node_modules/frida-il2cpp-bridge/dist/index.js:1307)

Then I found out that whenever I use 'invoke' to call this function, this problem will occur as a result The function is

Torappu.FP get_maxHp();

The struct is

struct Torappu.FP : System.ValueType, System.IEquatable<Torappu.FP>, System.IComparable<Torappu.FP>, Torappu.ILuaCallCSharp
{
    System.Int64 _serializedValue; // 0x10
    static System.Int64 MAX_VALUE = 9223372036854775807;
    static System.Int64 MIN_VALUE = -9223372036854775808;
    static System.Int32 NUM_BITS = 64;
    static System.Int32 FRACTIONAL_PLACES = 32;
    static System.Int64 ONE = 4294967296;
    static System.Int64 TEN = 42949672960;
    static System.Int64 HALF = 2147483648;
    static System.Int64 PI_TIMES_2 = 26986075409;
    static System.Int64 PI = 13493037704;
    static System.Int64 PI_OVER_2 = 6746518852;
    static System.Int32 LUT_SIZE = 205887;
    static System.Decimal Precision; // 0x0
    static Torappu.FP MaxValue; // 0x10
    static Torappu.FP MinValue; // 0x18
    static Torappu.FP One; // 0x20
    static Torappu.FP Ten; // 0x28
    static Torappu.FP Half; // 0x30
    static Torappu.FP Zero; // 0x38
    static Torappu.FP PositiveInfinity; // 0x40
    static Torappu.FP NegativeInfinity; // 0x48
    static Torappu.FP NaN; // 0x50
    static Torappu.FP EN1; // 0x58
    static Torappu.FP EN2; // 0x60
    static Torappu.FP EN3; // 0x68
    static Torappu.FP EN4; // 0x70
    static Torappu.FP EN5; // 0x78
    static Torappu.FP EN6; // 0x80
    static Torappu.FP EN7; // 0x88
    static Torappu.FP EN8; // 0x90
    static Torappu.FP Epsilon; // 0x98
    static Torappu.FP Pi; // 0xa0
    static Torappu.FP PiOver2; // 0xa8
    static Torappu.FP PiTimes2; // 0xb0
    static Torappu.FP PiInv; // 0xb8
    static Torappu.FP PiOver2Inv; // 0xc0
    static Torappu.FP Deg2Rad; // 0xc8
    static Torappu.FP Rad2Deg; // 0xd0
    static Torappu.FP LutInterval; // 0xd8
    static System.Int64[] AcosLut; // 0xe0
    static System.Int64[] SinLut; // 0xe8
    static System.Int64[] TanLut; // 0xf0
    System.Void .ctor(System.Int64 rawValue); // 0x028cf204
    System.Void .ctor(System.Int32 value); // 0x028cf218
    static System.Int32 Sign(Torappu.FP value); // 0x028cf224
    static Torappu.FP Abs(Torappu.FP value); // 0x028cf23c
    static Torappu.FP FastAbs(Torappu.FP value); // 0x028cf2c0
    static Torappu.FP Floor(Torappu.FP value); // 0x028cf2cc
    static Torappu.FP Ceiling(Torappu.FP value); // 0x028cf2d4
    static Torappu.FP Round(Torappu.FP value); // 0x028cf358
    static Torappu.FP op_Addition(Torappu.FP x, Torappu.FP y); // 0x028cf350
    static Torappu.FP OverflowAdd(Torappu.FP x, Torappu.FP y); // 0x028cf40c
    static Torappu.FP FastAdd(Torappu.FP x, Torappu.FP y); // 0x028cf434
    static Torappu.FP op_Subtraction(Torappu.FP x, Torappu.FP y); // 0x028cf43c
    static Torappu.FP OverflowSub(Torappu.FP x, Torappu.FP y); // 0x028cf444
    static Torappu.FP FastSub(Torappu.FP x, Torappu.FP y); // 0x028cf464
    static System.Int64 AddOverflowHelper(System.Int64 x, System.Int64 y, System.Boolean& overflow); // 0x028cf46c
    static Torappu.FP op_Multiply(Torappu.FP x, Torappu.FP y); // 0x028cf48c
    static Torappu.FP OverflowMul(Torappu.FP x, Torappu.FP y); // 0x028cf4b0
    static Torappu.FP FastMul(Torappu.FP x, Torappu.FP y); // 0x028cf658
    static System.Int32 CountLeadingZeroes(System.UInt64 x); // 0x028cf67c
    static Torappu.FP op_Division(Torappu.FP x, Torappu.FP y); // 0x028cf6b8
    static Torappu.FP op_Modulus(Torappu.FP x, Torappu.FP y); // 0x028cf8a4
    static Torappu.FP FastMod(Torappu.FP x, Torappu.FP y); // 0x028cf8c8
    static Torappu.FP op_UnaryNegation(Torappu.FP x); // 0x028cf8d4
    static System.Boolean op_Equality(Torappu.FP x, Torappu.FP y); // 0x028cf954
    static System.Boolean op_Inequality(Torappu.FP x, Torappu.FP y); // 0x028cf960
    static System.Boolean op_GreaterThan(Torappu.FP x, Torappu.FP y); // 0x028cf96c
    static System.Boolean op_LessThan(Torappu.FP x, Torappu.FP y); // 0x028cf978
    static System.Boolean op_GreaterThanOrEqual(Torappu.FP x, Torappu.FP y); // 0x028cf984
    static System.Boolean op_LessThanOrEqual(Torappu.FP x, Torappu.FP y); // 0x028cf990
    static Torappu.FP Sqrt(Torappu.FP x); // 0x028cf99c
    static Torappu.FP Sin(Torappu.FP x); // 0x028cfad4
    static Torappu.FP FastSin(Torappu.FP x); // 0x028cfe94
    static System.Int64 ClampSinValue(System.Int64 angle, System.Boolean& flipHorizontal, System.Boolean& flipVertical); // 0x028cfdd0
    static Torappu.FP Cos(Torappu.FP x); // 0x028d003c
    static Torappu.FP FastCos(Torappu.FP x); // 0x028d00c4
    static Torappu.FP Tan(Torappu.FP x); // 0x028d014c
    static Torappu.FP Atan(Torappu.FP y); // 0x028d0318
    static Torappu.FP Atan2(Torappu.FP y, Torappu.FP x); // 0x028d0380
    static Torappu.FP Asin(Torappu.FP value); // 0x028d06d0
    static Torappu.FP Acos(Torappu.FP value); // 0x028d0748
    static Torappu.FP op_Implicit(System.Int64 value); // 0x028cf89c
    static System.Int64 op_Explicit(Torappu.FP value); // 0x028cfe84
    static Torappu.FP op_Implicit(System.Single value); // 0x028d09d8
    static System.Single op_Explicit(Torappu.FP value); // 0x028d09e0
    static Torappu.FP op_Implicit(System.Double value); // 0x028d09f4
    static System.Double op_Explicit(Torappu.FP value); // 0x028d09fc
    static Torappu.FP op_Explicit(System.Decimal value); // 0x028d0a10
    static Torappu.FP op_Implicit(System.Int32 value); // 0x028cfe8c
    static System.Decimal op_Explicit(Torappu.FP value); // 0x028d0acc
    System.Single AsFloat(); // 0x028d0bec
    System.Int32 AsInt(); // 0x028d0c58
    System.Int64 AsLong(); // 0x028d0cc8
    System.Double AsDouble(); // 0x028d0d44
    System.Decimal AsDecimal(); // 0x028d0db0
    static System.Single ToFloat(Torappu.FP value); // 0x028d0db8
    static System.Int32 ToInt(Torappu.FP value); // 0x028d0e28
    static Torappu.FP FromFloat(System.Single value); // 0x028d0e8c
    static System.Boolean IsInfinity(Torappu.FP value); // 0x028d0ef8
    static System.Boolean IsNaN(Torappu.FP value); // 0x028d0f9c
    System.Boolean Equals(System.Object obj); // 0x028d1098
    System.Int32 GetHashCode(); // 0x028d10a8
    System.Boolean Equals(Torappu.FP other); // 0x028d10c4
    System.Int32 CompareTo(Torappu.FP other); // 0x028d10dc
    System.String ToString(); // 0x028d1178
    static Torappu.FP FromRaw(System.Int64 rawValue); // 0x028d1180
    static System.Void GenerateAcosLut(); // 0x028d1188
    static System.Void GenerateSinLut(); // 0x028d140c
    static System.Void GenerateTanLut(); // 0x028d16a8
    System.Int64 get_RawValue(); // 0x028d1a7c
    static System.Void .cctor(); // 0x028d1a84
}

I guess it's because he has two '. ctor'

System.Void .ctor(System.Int64 rawValue); // 0x028cf204
System.Void .ctor(System.Int32 value); // 0x028cf218
UPON-2021 commented 6 months ago

I got same situation

source code

            Il2Cpp.trace(true).classes(AssemblyCSharp.class('Torappu.Battle.Enemy'))
                .filterMethods((method) => method.name != '12')
                .and()
                .attach()

dump file:

// Assembly-CSharp
class Torappu.Battle.Enemy : Torappu.Battle.Unit, Torappu.Battle.IMovable, Torappu.Battle.ILocatable
{
    static System.Int32 UPDATE_POS_TICK = 5;
    static System.Single BLOCKING_TWEEN_DURATION = 0.20000000298023224;
    static System.Single HATRED_VALUE_GAP = 1000;
    static System.Single MIN_BLINK_DISTANCE = 0.009999999776482582;
    UnityEngine.Vector2 m_lastMoveDirVec; // 0x154
    static System.Collections.Generic.List<Torappu.Battle.EnemySkill> s_sharedList; // 0x0
    Torappu.Battle.SideTypeIndex _sideTypeIndex; // 0x15c
    Torappu.Battle.Range _locateRange; // 0x160
    Torappu.Battle.Enemy.BodyDirectionPolicy _bodyDirectionPolicy; // 0x164
    System.Boolean _scaleMoveBySpeed; // 0x168
    UnityEngine.Vector2 _scaleMoveAnimationRange; // 0x16c
    System.Boolean _showSpAsBulletMode; // 0x174
    System.Collections.Generic.List<System.Int32> _hideBulletSpModes; // 0x178
    System.Boolean _alwaysShowHp; // 0x17c
    System.Boolean _keepMoveAnimScale; // 0x17d
    System.Boolean _useSpecificDeadAnim; // 0x17e
    System.Boolean _useSpecificReachExitAnim; // 0x17f
    System.Boolean _disableBornTweenColor; // 0x180
    System.Single _height; // 0x184
    System.Single _delayToBorn; // 0x188
    System.String _startEffect; // 0x18c
    System.String _deadEffect; // 0x190
    System.Int32 _blockVolume; // 0x194
    Torappu.Battle.Enemy.SpecialBlockCondition _specialBlockCondition; // 0x198
    System.Boolean _dontSetEnemyFaceByCursorWhenBorn; // 0x19c
    System.Boolean _idleWhenBorn; // 0x19d
    System.Boolean _disableTriggerWhenDisappear; // 0x19e
    System.Boolean _canNotExit; // 0x19f
    System.Int32 m_defaultModeIndex; // 0x1a0
    System.Single m_totalMoveDist; // 0x1a4
    System.Boolean m_blinkHideUIFlag; // 0x1a8
    System.Boolean m_fogHideUIFlag; // 0x1a9
    System.Boolean m_showSpUIFlag; // 0x1aa
    Torappu.Battle.Tile m_currentTile; // 0x1ac
    Torappu.Battle.DirectionCursor m_cursor; // 0x1b0
    Torappu.Battle.Abilities.TraceTargetAbility m_traceTargetAbility; // 0x1b4
    Torappu.Battle.TracePositionCursor m_traceTargetCursor; // 0x1b8
    Torappu.Battle.MoveController m_moveController; // 0x1bc
    Torappu.ObjectPtr<Torappu.Battle.Character> m_blocker; // 0x1c0
    Torappu.PeriodicTicker m_updatePosTicker; // 0x1c8
    Torappu.Battle.Enemy.HeightController m_heightCtrl; // 0x1cc
    Torappu.Battle.SpineAnimator m_spineAnimator; // 0x1d0
    Torappu.Battle.Enemy.SpecialBlockCondition m_changealeSpecialBlockCondition; // 0x1d4
    System.Boolean m_disableAppearTweenColor; // 0x1d8
    Torappu.ITweenHandler m_blockTween; // 0x1dc
    DG.Tweening.Tween m_tweenToRecycle; // 0x1e0
    UnityEngine.Vector2 m_blockPosition; // 0x1e4
    UnityEngine.Vector2 m_contDirAfterEnd; // 0x1ec
    UnityEngine.Vector2 m_posInLastFrame; // 0x1f4
    UnityEngine.Collider2D m_nonTriggerCollider; // 0x1fc
    UnityEngine.Collider2D m_mainTriggerCollider; // 0x200
    Torappu.FP m_mainTriggerColliderRadius; // 0x204
    Torappu.ListSet<Torappu.ObjectPtr<Torappu.Battle.BObject>> m_pullSources; // 0x20c
    Torappu.ListSet<Torappu.ObjectPtr<Torappu.Battle.BObject>> m_disabledPullSources; // 0x210
    Torappu.Battle.EnemySkill[] m_allSkills; // 0x214
    Torappu.Battle.Unit.RebornData m_rebornData; // 0x218
    System.Boolean m_isInvalidKilled; // 0x24c
    System.Boolean m_isOverrideKillCnt; // 0x24d
    System.Int32 m_overrideKillCnt; // 0x250
    System.Int32 m_blockVolumeAddition; // 0x254
    System.Boolean m_disableSwitchFaceByMove; // 0x258
    Torappu.FP m_createdTime; // 0x25c
    System.Single m_delayToRecycle; // 0x264
    System.Collections.Generic.List<System.Int32> m_ExtraLogIds; // 0x268
    System.UInt32 m_hostUid; // 0x26c
    System.Collections.Generic.List<Torappu.Battle.EnemySkill> m_skills; // 0x270
    System.Collections.Generic.List<Torappu.Battle.Tile> m_currentSubTiles; // 0x274
    Torappu.Battle.Ability m_attackAbilityCasted; // 0x278
    Torappu.Battle.Ability m_combatAbilityCasted; // 0x27c
    Torappu.FP m_combatNextEscapeTime; // 0x280
    System.Boolean <disableUIHud>k__BackingField; // 0x288
    System.Int32 <lifePointReduce>k__BackingField; // 0x28c
    System.Single <defaultRangeRadius>k__BackingField; // 0x290
    Torappu.LevelData.EnemyData <data>k__BackingField; // 0x294
    Torappu.Battle.Enemy.Options <options>k__BackingField; // 0x298
    UnityEngine.Rigidbody2D <rigidbody2D>k__BackingField; // 0x2b0
    Torappu.Battle.Enemy.AttackWrapper <attackWrapper>k__BackingField; // 0x2b4
    Torappu.Battle.Enemy.CombatWrapper <combatWrapper>k__BackingField; // 0x2b8
    static System.Single DEFAULT_FRICTION_FACTOR = 1;
    System.Single m_frictionFactor; // 0x2bc
    static System.Comparison<Torappu.Battle.EnemySkill> <>f__am$cache0; // 0x4
    static XLua.DelegateBridge _c__Hotfix0_ctor; // 0x8
    static XLua.DelegateBridge __Hotfix0_get_lastMoveDirection; // 0xc
    static XLua.DelegateBridge __Hotfix0_get_lastMoveDirVec; // 0x10
    static XLua.DelegateBridge __Hotfix0_set_lastMoveDirVec; // 0x14
    static XLua.DelegateBridge __Hotfix0_get_specialBlockCondition; // 0x18
    static XLua.DelegateBridge __Hotfix0_get_disableAppearTweenColor; // 0x1c
    static XLua.DelegateBridge __Hotfix0_set_disableAppearTweenColor; // 0x20
    static XLua.DelegateBridge __Hotfix0_get_allApplyWay; // 0x24
    static XLua.DelegateBridge __Hotfix0_SetSpecialBlockCondition; // 0x28
    static XLua.DelegateBridge __Hotfix0_SetEnemyCombatWrapperInterrupted; // 0x2c
    static XLua.DelegateBridge __Hotfix0_get_ColliderRadius; // 0x30
    static XLua.DelegateBridge __Hotfix0_get_onlyCollideWhenUnbalance; // 0x34
    static XLua.DelegateBridge __Hotfix0_get_bodyDirectionPolicy; // 0x38
    static XLua.DelegateBridge __Hotfix0_get_attackAbilityCasted; // 0x3c
    static XLua.DelegateBridge __Hotfix0_get_combatAbilityCasted; // 0x40
    static XLua.DelegateBridge __Hotfix0_set_combatAbilityCasted; // 0x44
    static XLua.DelegateBridge __Hotfix0_get_hostUid; // 0x48
    static XLua.DelegateBridge __Hotfix0_set_hostUid; // 0x4c
    static XLua.DelegateBridge __Hotfix0_OnHostUidSet; // 0x50
    static XLua.DelegateBridge __Hotfix0_get_nonTriggerCollider; // 0x54
    static XLua.DelegateBridge __Hotfix0_get_moveController; // 0x58
    static XLua.DelegateBridge __Hotfix0_get_distToExit; // 0x5c
    static XLua.DelegateBridge __Hotfix0_get_distToExitPrecise; // 0x60
    static XLua.DelegateBridge __Hotfix0_get_uiHideFlag; // 0x64
    static XLua.DelegateBridge __Hotfix0_get_hideHp; // 0x68
    static XLua.DelegateBridge __Hotfix0_get_showSpUIFlag; // 0x6c
    static XLua.DelegateBridge __Hotfix0_get_fogHideUIFlag; // 0x70
    static XLua.DelegateBridge __Hotfix0_set_fogHideUIFlag; // 0x74
    static XLua.DelegateBridge __Hotfix0_get_disableUIHud; // 0x78
    static XLua.DelegateBridge __Hotfix0_set_disableUIHud; // 0x7c
    static XLua.DelegateBridge __Hotfix0_get_disableUIUnitHud; // 0x80
    static XLua.DelegateBridge __Hotfix0_get_hatred; // 0x84
    static XLua.DelegateBridge __Hotfix0_get_totalMoveDist; // 0x88
    static XLua.DelegateBridge __Hotfix0_get_blocker; // 0x8c
    static XLua.DelegateBridge __Hotfix0_get_rootTile; // 0x90
    static XLua.DelegateBridge __Hotfix0_get_rootSubTiles; // 0x94
    static XLua.DelegateBridge __Hotfix0_get_lifePointReduce; // 0x98
    static XLua.DelegateBridge __Hotfix0_set_lifePointReduce; // 0x9c
    static XLua.DelegateBridge __Hotfix0_get_defaultRangeRadius; // 0xa0
    static XLua.DelegateBridge __Hotfix0_set_defaultRangeRadius; // 0xa4
    static XLua.DelegateBridge __Hotfix0_get_massLevel; // 0xa8
    static XLua.DelegateBridge __Hotfix0_get_maxEp; // 0xac
    static XLua.DelegateBridge __Hotfix0_get_essentialMotionMode; // 0xb0
    static XLua.DelegateBridge __Hotfix0_get_enemyTags; // 0xb4
    static XLua.DelegateBridge __Hotfix0_get_data; // 0xb8
    static XLua.DelegateBridge __Hotfix0_set_data; // 0xbc
    static XLua.DelegateBridge __Hotfix0_get_isUnbalanced; // 0xc0
    static XLua.DelegateBridge __Hotfix0_get_isInAttackState; // 0xc4
    static XLua.DelegateBridge __Hotfix0_get_isInCombatState; // 0xc8
    static XLua.DelegateBridge __Hotfix0_get_isInRebornState; // 0xcc
    static XLua.DelegateBridge __Hotfix0_get_isInMoveState; // 0xd0
    static XLua.DelegateBridge __Hotfix0_get_isInDyingState; // 0xd4
    static XLua.DelegateBridge __Hotfix0_get_isBoss; // 0xd8
    static XLua.DelegateBridge __Hotfix0_get_isGiantBoss; // 0xdc
    static XLua.DelegateBridge __Hotfix0_get_locateRange; // 0xe0
    static XLua.DelegateBridge __Hotfix0_get_blockVolume; // 0xe4
    static XLua.DelegateBridge __Hotfix0_get_blockVolumeAddition; // 0xe8
    static XLua.DelegateBridge __Hotfix0_set_blockVolumeAddition; // 0xec
    static XLua.DelegateBridge __Hotfix0_get_showSpAsBulletMode; // 0xf0
    static XLua.DelegateBridge __Hotfix0_get_disableBulletSp; // 0xf4
    static XLua.DelegateBridge __Hotfix0_get_defaultMode; // 0xf8
    static XLua.DelegateBridge __Hotfix0_get_hasCombat; // 0xfc
    static XLua.DelegateBridge __Hotfix0_get_combatable; // 0x100
    static XLua.DelegateBridge __Hotfix0_get_isInCombat; // 0x104
    static XLua.DelegateBridge __Hotfix0_get_isMovingBySelf; // 0x108
    static XLua.DelegateBridge __Hotfix0_get_footMapPosition; // 0x10c
    static XLua.DelegateBridge __Hotfix0_get_offsetMapPosition; // 0x110
    static XLua.DelegateBridge __Hotfix0_get_stableBlockPosition; // 0x114
    static XLua.DelegateBridge __Hotfix0_get_options; // 0x118
    static XLua.DelegateBridge __Hotfix0_set_options; // 0x11c
    static XLua.DelegateBridge __Hotfix0_DontCountAsFinished; // 0x120
    static XLua.DelegateBridge __Hotfix0_get_isInvalidKilled; // 0x124
    static XLua.DelegateBridge __Hotfix0_get_isOverrideKillCnt; // 0x128
    static XLua.DelegateBridge __Hotfix0_get_overrideKillCnt; // 0x12c
    static XLua.DelegateBridge __Hotfix0_get_stateMachine; // 0x130
    static XLua.DelegateBridge __Hotfix0_get_isFixedRotation; // 0x134
    static XLua.DelegateBridge __Hotfix0_get_initState; // 0x138
    static XLua.DelegateBridge __Hotfix0_get_delayToRecycle; // 0x13c
    static XLua.DelegateBridge __Hotfix0_get_sideTypeIndex; // 0x140
    static XLua.DelegateBridge __Hotfix0_get_delayToBorn; // 0x144
    static XLua.DelegateBridge __Hotfix0_get_createdTime; // 0x148
    static XLua.DelegateBridge __Hotfix0_get_isInEnemySide; // 0x14c
    static XLua.DelegateBridge __Hotfix0_get_mass; // 0x150
    static XLua.DelegateBridge __Hotfix0_get_velocity; // 0x154
    static XLua.DelegateBridge __Hotfix0_set_velocity; // 0x158
    static XLua.DelegateBridge __Hotfix0_get_rigidbody2D; // 0x15c
    static XLua.DelegateBridge __Hotfix0_set_rigidbody2D; // 0x160
    static XLua.DelegateBridge __Hotfix0_get_attackWrapper; // 0x164
    static XLua.DelegateBridge __Hotfix0_set_attackWrapper; // 0x168
    static XLua.DelegateBridge __Hotfix0_get_combatWrapper; // 0x16c
    static XLua.DelegateBridge __Hotfix0_set_combatWrapper; // 0x170
    static XLua.DelegateBridge __Hotfix0_get_lastAttackOrCombatAbility; // 0x174
    static XLua.DelegateBridge __Hotfix0_get_mainCombatAbility; // 0x178
    static XLua.DelegateBridge __Hotfix0_get_lastSkill; // 0x17c
    static XLua.DelegateBridge __Hotfix0_get_deadEffect; // 0x180
    static XLua.DelegateBridge __Hotfix0_get_startEffect; // 0x184
    static XLua.DelegateBridge __Hotfix0_get_moveSpdTotalScale; // 0x188
    static XLua.DelegateBridge __Hotfix0_get_traceTargetCursor; // 0x18c
    static XLua.DelegateBridge __Hotfix0_get_cursor; // 0x190
    static XLua.DelegateBridge __Hotfix0_get_moveCursor; // 0x194
    static XLua.DelegateBridge __Hotfix0_get_traceTargetAbility; // 0x198
    static XLua.DelegateBridge __Hotfix0_set_traceTargetAbility; // 0x19c
    static XLua.DelegateBridge __Hotfix0_get_usingTraceCursor; // 0x1a0
    static XLua.DelegateBridge __Hotfix0_get_traceTarget; // 0x1a4
    static XLua.DelegateBridge __Hotfix0_get_frictionFactor; // 0x1a8
    static XLua.DelegateBridge __Hotfix0_get_preloadCnt; // 0x1ac
    static XLua.DelegateBridge __Hotfix0_get_disableSwitchFaceByMove; // 0x1b0
    static XLua.DelegateBridge __Hotfix0_set_disableSwitchFaceByMove; // 0x1b4
    static XLua.DelegateBridge __Hotfix0_get_scaleMoveBySpeed; // 0x1b8
    static XLua.DelegateBridge __Hotfix0_get_updateHpColor; // 0x1bc
    static XLua.DelegateBridge __Hotfix0_get_hpColor; // 0x1c0
    static XLua.DelegateBridge __Hotfix0_UpdateFrictionFactor; // 0x1c4
    static XLua.DelegateBridge __Hotfix0_RestoreFrictionFactor; // 0x1c8
    static XLua.DelegateBridge __Hotfix0_InterruptLastAbilityIfNot; // 0x1cc
    static XLua.DelegateBridge __Hotfix0_Spawn; // 0x1d0
    static XLua.DelegateBridge __Hotfix0_Born; // 0x1d4
    static XLua.DelegateBridge __Hotfix0_GetModeRangeRadius; // 0x1d8
    static XLua.DelegateBridge __Hotfix0_GetCurrentAttackOrCombatAbility; // 0x1dc
    static XLua.DelegateBridge __Hotfix0_PlayAudioSignal; // 0x1e0
    static XLua.DelegateBridge __Hotfix0_CheckHasFilterTag; // 0x1e4
    static XLua.DelegateBridge __Hotfix0_TriggerEnemySkill; // 0x1e8
    static XLua.DelegateBridge __Hotfix0_FetchHost; // 0x1ec
    static XLua.DelegateBridge __Hotfix0_CheckBlockable; // 0x1f0
    static XLua.DelegateBridge __Hotfix0_CheckBlockableWithoutCheckRange; // 0x1f4
    static XLua.DelegateBridge __Hotfix0__CheckSpecialBlockCondition; // 0x1f8
    static XLua.DelegateBridge __Hotfix0_RegisterBlocker; // 0x1fc
    static XLua.DelegateBridge __Hotfix0_UnregisterBlocker; // 0x200
    static XLua.DelegateBridge __Hotfix0_OnBlockVolumeChanged; // 0x204
    static XLua.DelegateBridge __Hotfix0_KnockBack; // 0x208
    static XLua.DelegateBridge __Hotfix0_DisableCurrentStillPull; // 0x20c
    static XLua.DelegateBridge __Hotfix0_BeginPull; // 0x210
    static XLua.DelegateBridge __Hotfix0_StillPull; // 0x214
    static XLua.DelegateBridge __Hotfix0_TryEarlyStopPull; // 0x218
    static XLua.DelegateBridge __Hotfix0_EndPull; // 0x21c
    static XLua.DelegateBridge __Hotfix0_FallDown; // 0x220
    static XLua.DelegateBridge __Hotfix0_CheckReadyToFallDown; // 0x224
    static XLua.DelegateBridge __Hotfix0_PlayMoveAnim; // 0x228
    static XLua.DelegateBridge __Hotfix0__RemoveInvalidPullSources; // 0x22c
    static XLua.DelegateBridge __Hotfix0_Blink; // 0x230
    static XLua.DelegateBridge __Hotfix0_BlinkWithoutSwitchToBlinkState; // 0x234
    static XLua.DelegateBridge __Hotfix0_TryGetDistanceToNextCheckpoint; // 0x238
    static XLua.DelegateBridge __Hotfix0_TryGetDistanceToMapPosInCheckpointsAhead; // 0x23c
    static XLua.DelegateBridge __Hotfix0_ClearTraceIfExist; // 0x240
    static XLua.DelegateBridge __Hotfix0_ReassignRoute; // 0x244
    static XLua.DelegateBridge __Hotfix0_ReconstructRoute; // 0x248
    static XLua.DelegateBridge __Hotfix0_ReconstructRouteWithTargetGridMove; // 0x24c
    static XLua.DelegateBridge __Hotfix0_TransportInternal; // 0x250
    static XLua.DelegateBridge __Hotfix0_TryGetNextAppearCheckpoint; // 0x254
    static XLua.DelegateBridge __Hotfix0_PopulateSnapshotToHashBuilder; // 0x258
    static XLua.DelegateBridge __Hotfix0_PopulateSnapshotToStrBuilder; // 0x25c
    static XLua.DelegateBridge __Hotfix0_GatherEffects; // 0x260
    static XLua.DelegateBridge __Hotfix0_Init; // 0x264
    static XLua.DelegateBridge __Hotfix0_ChangePathMotionMode; // 0x268
    static XLua.DelegateBridge __Hotfix0_OnReset; // 0x26c
    static XLua.DelegateBridge __Hotfix0_OnBorn; // 0x270
    static XLua.DelegateBridge __Hotfix0_InitFaceTo; // 0x274
    static XLua.DelegateBridge __Hotfix0_OnReborn; // 0x278
    static XLua.DelegateBridge __Hotfix0_SetBodyAndFaceDirection; // 0x27c
    static XLua.DelegateBridge __Hotfix0_OnFaceChanged; // 0x280
    static XLua.DelegateBridge __Hotfix0_SetBodyDirectionWithPolicy; // 0x284
    static XLua.DelegateBridge __Hotfix0_OnDisappearChanged; // 0x288
    static XLua.DelegateBridge __Hotfix0_OnSwitchMode; // 0x28c
    static XLua.DelegateBridge __Hotfix0_OnHpZero; // 0x290
    static XLua.DelegateBridge __Hotfix0_OnAttributeDirty; // 0x294
    static XLua.DelegateBridge __Hotfix0_ConstructStateMachine; // 0x298
    static XLua.DelegateBridge __Hotfix0_FinishMe; // 0x29c
    static XLua.DelegateBridge __Hotfix0_DoFakeDeath; // 0x2a0
    static XLua.DelegateBridge __Hotfix0_DoReborn; // 0x2a4
    static XLua.DelegateBridge __Hotfix0__MoveByRoute; // 0x2a8
    static XLua.DelegateBridge __Hotfix0__MoveToFixedDirection; // 0x2ac
    static XLua.DelegateBridge __Hotfix0_ReleaseFromBlocker; // 0x2b0
    static XLua.DelegateBridge __Hotfix0__ResetPhysicsStatus; // 0x2b4
    static XLua.DelegateBridge __Hotfix0__ReactivateMainTriggerCollider; // 0x2b8
    static XLua.DelegateBridge __Hotfix0__SearchAttackTarget; // 0x2bc
    static XLua.DelegateBridge __Hotfix0__InitCurrentTile; // 0x2c0
    static XLua.DelegateBridge __Hotfix0__CheckTileCanExit; // 0x2c4
    static XLua.DelegateBridge __Hotfix0_UpdateCurrentTile; // 0x2c8
    static XLua.DelegateBridge __Hotfix0_TryGetFirstAttachedSkill; // 0x2cc
    static XLua.DelegateBridge __Hotfix0__UpdateCurrentTile; // 0x2d0
    static XLua.DelegateBridge __Hotfix0_SetHeightDirectly; // 0x2d4
    static XLua.DelegateBridge __Hotfix0_SetHeight; // 0x2d8
    static XLua.DelegateBridge __Hotfix0_SetEnemyHeightOffset; // 0x2dc
    static XLua.DelegateBridge __Hotfix0_AdjustEnemyHeightByInitial; // 0x2e0
    static XLua.DelegateBridge __Hotfix0_SetHeightImmediatelyChange; // 0x2e4
    static XLua.DelegateBridge __Hotfix0_SetEnemyLevitateOffset; // 0x2e8
    static XLua.DelegateBridge __Hotfix0_IsHanging; // 0x2ec
    static XLua.DelegateBridge __Hotfix0_OnRootTileChanged; // 0x2f0
    static XLua.DelegateBridge __Hotfix0_PlayUnbalanceAnimation; // 0x2f4
    static XLua.DelegateBridge __Hotfix0_ModifySpUIFlag; // 0x2f8
    static XLua.DelegateBridge __Hotfix0__MoveToBlockPosition; // 0x2fc
    static XLua.DelegateBridge __Hotfix0_FaceToCalculateDirection; // 0x300
    static XLua.DelegateBridge __Hotfix0_ReachExit; // 0x304
    static XLua.DelegateBridge __Hotfix0__CalculateFaceDirection; // 0x308
    static XLua.DelegateBridge __Hotfix0__CheckUseIdForAudioSignal; // 0x30c
    static XLua.DelegateBridge __Hotfix0__AssignData; // 0x310
    static XLua.DelegateBridge __Hotfix0__AssignSkill; // 0x314
    static XLua.DelegateBridge __Hotfix0__AssignTalent; // 0x318
    static XLua.DelegateBridge __Hotfix0__GetDefaultModeIndex; // 0x31c
    static XLua.DelegateBridge __Hotfix0_GetAttackBlackboard; // 0x320
    static XLua.DelegateBridge __Hotfix0_TryFindFirstEnabledEnemySkill; // 0x324
    static XLua.DelegateBridge __Hotfix0_OnAwake; // 0x328
    static XLua.DelegateBridge __Hotfix0_OnInit; // 0x32c
    static XLua.DelegateBridge __Hotfix0_OnFinish; // 0x330
    static XLua.DelegateBridge __Hotfix0_OnRecycle; // 0x334
    static XLua.DelegateBridge __Hotfix0_OnTick; // 0x338
    static XLua.DelegateBridge __Hotfix0_OnTickAfterDead; // 0x33c
    static XLua.DelegateBridge __Hotfix0_OnBeforeAttack; // 0x340
    static XLua.DelegateBridge __Hotfix0_OnAfterAttack; // 0x344
    static XLua.DelegateBridge __Hotfix0_CheckTargetInAttackRange; // 0x348
    static XLua.DelegateBridge __Hotfix0__InitPhysics; // 0x34c
    static XLua.DelegateBridge __Hotfix0_TryUpdateEnemySkillSelector; // 0x350
    static XLua.DelegateBridge __Hotfix0__GenerateSpData; // 0x354
    System.Void .ctor(); // 0x01146704
    Torappu.SharedConsts.Direction get_lastMoveDirection(); // 0x01146996
    UnityEngine.Vector2 get_lastMoveDirVec(); // 0x01146a66
    System.Void set_lastMoveDirVec(UnityEngine.Vector2 value); // 0x01146af3
    Torappu.Battle.Enemy.SpecialBlockCondition get_specialBlockCondition(); // 0x01146b9b
    System.Boolean get_disableAppearTweenColor(); // 0x01146c28
    System.Void set_disableAppearTweenColor(System.Boolean value); // 0x01146cb2
    Torappu.SourceApplyWay get_allApplyWay(); // 0x01146d40
    System.Void SetSpecialBlockCondition(Torappu.Battle.Enemy.SpecialBlockCondition.Type type, Torappu.Battle.Enemy.SpecialBlockCondition.BuffKeyPair[] buffKeyPairs, System.String[] filterTags); // 0x01146e59
    System.Void SetEnemyCombatWrapperInterrupted(); // 0x01146f50
    Torappu.FP get_ColliderRadius(); // 0x0114707e
    System.Boolean get_onlyCollideWhenUnbalance(); // 0x0114710b
    Torappu.Battle.Enemy.BodyDirectionPolicy get_bodyDirectionPolicy(); // 0x0114718b
    Torappu.Battle.Ability get_attackAbilityCasted(); // 0x0114720e
    Torappu.Battle.Ability get_combatAbilityCasted(); // 0x01147291
    System.Void set_combatAbilityCasted(Torappu.Battle.Ability value); // 0x01147314
    System.UInt32 get_hostUid(); // 0x01147399
    System.Void set_hostUid(System.UInt32 value); // 0x0114741c
    System.Void OnHostUidSet(); // 0x0114757c
    UnityEngine.Collider2D get_nonTriggerCollider(); // 0x011475f7
    Torappu.Battle.MoveController get_moveController(); // 0x0114767a
    System.Single get_distToExit(); // 0x011476fd
    System.Single get_distToExitPrecise(); // 0x011477c7
    System.Boolean get_uiHideFlag(); // 0x01147891
    System.Boolean get_hideHp(); // 0x011479c9
    System.Boolean get_showSpUIFlag(); // 0x01147a81
    System.Boolean get_fogHideUIFlag(); // 0x0114793f
    System.Void set_fogHideUIFlag(System.Boolean value); // 0x01147b0b
    System.Boolean get_disableUIHud(); // 0x01147b99
    System.Void set_disableUIHud(System.Boolean value); // 0x01147c23
    System.Boolean get_disableUIUnitHud(); // 0x01147cb1
    Torappu.FP get_hatred(); // 0x01147d3c
    System.Single get_totalMoveDist(); // 0x01147e43
    Torappu.Battle.Character get_blocker(); // 0x01147ec9
    Torappu.Battle.Tile get_rootTile(); // 0x01147fa1
    System.Collections.Generic.List<Torappu.Battle.Tile> get_rootSubTiles(); // 0x01148027
    System.Int32 get_lifePointReduce(); // 0x011480ad
    System.Void set_lifePointReduce(System.Int32 value); // 0x01148133
    System.Single get_defaultRangeRadius(); // 0x011481bb
    System.Void set_defaultRangeRadius(System.Single value); // 0x01148241
    System.Int32 get_massLevel(); // 0x011482d5
    Torappu.FP get_maxEp(); // 0x0114837e
    Torappu.MotionMode get_essentialMotionMode(); // 0x01148554
    System.String[] get_enemyTags(); // 0x011485ea
    Torappu.LevelData.EnemyData get_data(); // 0x01146dd3
    System.Void set_data(Torappu.LevelData.EnemyData value); // 0x01148680
    System.Boolean get_isUnbalanced(); // 0x01148708
    System.Boolean get_isInAttackState(); // 0x01148867
    System.Boolean get_isInCombatState(); // 0x0114890c
    System.Boolean get_isInRebornState(); // 0x011489b1
    System.Boolean get_isInMoveState(); // 0x01148a56
    System.Boolean get_isInDyingState(); // 0x01148afb
    System.Boolean get_isBoss(); // 0x01148b80
    System.Boolean get_isGiantBoss(); // 0x01148c36
    Torappu.Battle.IDrawableRange get_locateRange(); // 0x01148cbb
    System.Int32 get_blockVolume(); // 0x01148d41
    System.Int32 get_blockVolumeAddition(); // 0x01148dcd
    System.Void set_blockVolumeAddition(System.Int32 value); // 0x01148e53
    System.Boolean get_showSpAsBulletMode(); // 0x01148fdb
    System.Boolean get_disableBulletSp(); // 0x01149068
    Torappu.Battle.UnitMode get_defaultMode(); // 0x01149129
    System.Boolean get_hasCombat(); // 0x011491de
    System.Boolean get_combatable(); // 0x011492a2
    System.Boolean get_isInCombat(); // 0x01149350
    System.Boolean get_isMovingBySelf(); // 0x01149412
    UnityEngine.Vector2 get_footMapPosition(); // 0x01149510
    UnityEngine.Vector2 get_offsetMapPosition(); // 0x011495bc
    UnityEngine.Vector2 get_stableBlockPosition(); // 0x011496b4
    Torappu.Battle.Enemy.Options get_options(); // 0x011474d2
    System.Void set_options(Torappu.Battle.Enemy.Options value); // 0x01149803
    System.Void DontCountAsFinished(); // 0x011498cd
    System.Boolean get_isInvalidKilled(); // 0x011499bf
    System.Boolean get_isOverrideKillCnt(); // 0x01149a4c
    System.Int32 get_overrideKillCnt(); // 0x01149ad9
    Torappu.HierachyStateMachine<Torappu.Battle.Enemy.States.State,Torappu.Battle.Enemy,Torappu.Battle.Enemy.States.Blackboard> get_stateMachine(); // 0x011487b4
    System.Boolean get_isFixedRotation(); // 0x01149b5f
    System.Int32 get_initState(); // 0x01149be4
    System.Single get_delayToRecycle(); // 0x01149c69
    Torappu.Battle.SideTypeIndex get_sideTypeIndex(); // 0x01149cef
    System.Single get_delayToBorn(); // 0x01149d75
    Torappu.FP get_createdTime(); // 0x01149dfb
    System.Boolean get_isInEnemySide(); // 0x01149e8b
    System.Single get_mass(); // 0x01149f47
    UnityEngine.Vector2 get_velocity(); // 0x0114a070
    System.Void set_velocity(UnityEngine.Vector2 value); // 0x0114a11a
    UnityEngine.Rigidbody2D get_rigidbody2D(); // 0x01149fea
    System.Void set_rigidbody2D(UnityEngine.Rigidbody2D value); // 0x0114a1f4
    Torappu.Battle.Enemy.AttackWrapper get_attackWrapper(); // 0x0114a27c
    System.Void set_attackWrapper(Torappu.Battle.Enemy.AttackWrapper value); // 0x0114a302
    Torappu.Battle.Enemy.CombatWrapper get_combatWrapper(); // 0x01146ff8
    System.Void set_combatWrapper(Torappu.Battle.Enemy.CombatWrapper value); // 0x0114a38a
    Torappu.Battle.Ability get_lastAttackOrCombatAbility(); // 0x0114a412
    Torappu.Battle.Ability get_mainCombatAbility(); // 0x0114a4f3
    Torappu.Battle.EnemySkill get_lastSkill(); // 0x0114a596
    System.String get_deadEffect(); // 0x0114a677
    System.String get_startEffect(); // 0x0114a744
    System.Single get_moveSpdTotalScale(); // 0x0114a7ca
    Torappu.Battle.TracePositionCursor get_traceTargetCursor(); // 0x0114a95d
    Torappu.Battle.DirectionCursor get_cursor(); // 0x0114aaf0
    Torappu.Battle.DirectionCursor get_moveCursor(); // 0x0114ab76
    Torappu.Battle.Abilities.TraceTargetAbility get_traceTargetAbility(); // 0x0114ac3a
    System.Void set_traceTargetAbility(Torappu.Battle.Abilities.TraceTargetAbility value); // 0x0114acc0
    System.Boolean get_usingTraceCursor(); // 0x0114ad48
    Torappu.Battle.Entity get_traceTarget(); // 0x0114ae58
    System.Single get_frictionFactor(); // 0x0114af44
    System.Int32 get_preloadCnt(); // 0x0114afca
    System.Boolean get_disableSwitchFaceByMove(); // 0x0114b04f
    System.Void set_disableSwitchFaceByMove(System.Boolean value); // 0x0114b0dc
    System.Boolean get_scaleMoveBySpeed(); // 0x0114b16d
    System.Boolean get_updateHpColor(); // 0x0114b1fa
    UnityEngine.Color get_hpColor(); // 0x0114b27f
    System.Void UpdateFrictionFactor(System.Single value); // 0x0114b343
    System.Void RestoreFrictionFactor(); // 0x0114b3d7
    System.Void InterruptLastAbilityIfNot(System.Boolean resetCooldown); // 0x0114b461
    System.Void Spawn(Torappu.LevelData.EnemyData data, Torappu.EnemyHandBookData handbookData, Torappu.Battle.Scheduler.SchedulerSnapshot snapshot, Torappu.Battle.Route route, Torappu.Battle.Enemy.Options options); // 0x0114b6db
    System.Void Born(); // 0x0114b8b0
    System.Single GetModeRangeRadius(Torappu.Battle.UnitMode mode); // 0x0114c063
    Torappu.Battle.Abilities.AbstractBasicAttack GetCurrentAttackOrCombatAbility(); // 0x0114c0f0
    System.Void PlayAudioSignal(System.String ev, System.Boolean ignorePredefined); // 0x0114c342
    System.Boolean CheckHasFilterTag(System.String enemyTag); // 0x0114c5f7
    System.Boolean TriggerEnemySkill(Torappu.Battle.Ability ability, Torappu.Battle.Entity target, Torappu.Battle.EnemySkill skill, System.Boolean assignCombatAbility); // 0x0114c6ae
    Torappu.Battle.Entity FetchHost(); // 0x0114ca35
    System.Boolean CheckBlockable(Torappu.Battle.Character blocker); // 0x0114cc7e
    System.Boolean CheckBlockableWithoutCheckRange(Torappu.Battle.Character blocker); // 0x0114cd52
    System.Boolean _CheckSpecialBlockCondition(Torappu.Battle.Character blocker); // 0x0114ce64
    System.Boolean RegisterBlocker(Torappu.Battle.Character blocker, UnityEngine.Vector2 offset); // 0x0114cf27
    System.Void UnregisterBlocker(Torappu.Battle.Character blocker); // 0x0114d4bf
    System.Void OnBlockVolumeChanged(); // 0x01148ee7
    System.Void KnockBack(UnityEngine.Vector2 direction, System.Single force, System.Boolean changeFaceByDirection); // 0x0114d609
    System.Void DisableCurrentStillPull(); // 0x0114da11
    System.Boolean BeginPull(Torappu.Battle.BObject source, UnityEngine.Vector2 direction, System.Single force); // 0x0114db04
    System.Boolean StillPull(Torappu.Battle.BObject source, UnityEngine.Vector2 direction, System.Single force); // 0x0114df80
    System.Boolean TryEarlyStopPull(Torappu.Battle.BObject source); // 0x0114e23f
    System.Void EndPull(Torappu.Battle.BObject source); // 0x0114e625
    System.Boolean FallDown(Torappu.Battle.Tile tile, Torappu.MotionMode mode); // 0x0114e92d
    System.Boolean CheckReadyToFallDown(); // 0x0114eaa7
    System.Void PlayMoveAnim(); // 0x0114ec39
    System.Void _RemoveInvalidPullSources(); // 0x0114e417
    System.Boolean Blink(System.Single distance, System.Single hideTime, System.Boolean blinkUseAnimTime, System.Boolean withoutSwitchToBlinkState, System.Boolean skipDisappearCheckpoint); // 0x0114eec5
    System.Void BlinkWithoutSwitchToBlinkState(System.Single distance, System.Boolean skipDisappearCheckpoint); // 0x0114f53b
    System.Boolean TryGetDistanceToNextCheckpoint(System.Single& distance); // 0x0114f7ac
    System.Boolean TryGetDistanceToMapPosInCheckpointsAhead(Torappu.GridPosition gridPos, System.Single& distance); // 0x0114f85e
    System.Void ClearTraceIfExist(); // 0x0114f95a
    System.Void ReassignRoute(Torappu.Battle.Route route, System.Int32 cursorIndex); // 0x0114f9f4
    System.Void ReconstructRoute(Torappu.GridPosition endGridPos, Torappu.RouteData.CheckpointData[] checkPointDataArray); // 0x0114facd
    System.Void ReconstructRouteWithTargetGridMove(Torappu.GridPosition targetPosition); // 0x0114fc70
    System.Void TransportInternal(UnityEngine.Vector2 dir, Torappu.Battle.Route route, System.Int32 cursorIndex, UnityEngine.Vector2 targetPos); // 0x0114fff3
    System.Boolean TryGetNextAppearCheckpoint(System.Int32& nextAppearCp, UnityEngine.Vector2& mapPos); // 0x011501f4
    System.Void PopulateSnapshotToHashBuilder(Torappu.HashCodeBuilder builder); // 0x01150315
    System.Void PopulateSnapshotToStrBuilder(System.Text.StringBuilder builder); // 0x011503f6
    System.Void GatherEffects(System.Collections.Generic.List<System.String> effects); // 0x01150599
    System.Void Init(Torappu.LevelData.EnemyData data, Torappu.EnemyHandBookData handbookData, Torappu.Battle.Scheduler.SchedulerSnapshot snapshot, Torappu.Battle.Route route); // 0x01150835
    System.Void ChangePathMotionMode(Torappu.MotionMode mode); // 0x011512c0
    System.Void OnReset(); // 0x01151654
    System.Void OnBorn(); // 0x01151982
    System.Void InitFaceTo(); // 0x01151b7c
    System.Void OnReborn(Torappu.Battle.Unit.RebornData data); // 0x01151c79
    System.Void SetBodyAndFaceDirection(UnityEngine.Vector2 direction, System.Boolean force); // 0x01151d98
    System.Void OnFaceChanged(UnityEngine.Vector2 newDir, UnityEngine.Vector2 oldDir, System.Boolean force, System.Boolean isIdle); // 0x01151fae
    System.Void SetBodyDirectionWithPolicy(UnityEngine.Vector2 dir, System.Boolean force); // 0x01151e95
    System.Void OnDisappearChanged(System.Boolean newValue); // 0x01152120
    System.Void OnSwitchMode(Torappu.Battle.UnitMode next, Torappu.Battle.UnitMode last, System.Boolean restartFSM); // 0x011525f5
    System.Void OnHpZero(System.Boolean noSource, System.Boolean skipReborn); // 0x01152835
    System.Void OnAttributeDirty(Torappu.AttributeType attributeType, Torappu.FP oldValue); // 0x01152a14
    Torappu.StateMachine ConstructStateMachine(); // 0x01152b9d
    System.Void FinishMe(Torappu.Battle.Entity.FinishReason reason); // 0x01152c2a
    System.Void DoFakeDeath(Torappu.Battle.Unit.RebornData rebornData); // 0x01153746
    System.Void DoReborn(Torappu.Battle.Unit.RebornData data); // 0x011537fc
    UnityEngine.Vector2 _MoveByRoute(System.Single deltaTime, System.Boolean& isHanging); // 0x0115398a
    System.Void _MoveToFixedDirection(UnityEngine.Vector2 direction, Torappu.FP deltaTime); // 0x01154781
    System.Void ReleaseFromBlocker(); // 0x0114f3ea
    System.Void _ResetPhysicsStatus(); // 0x011549f5
    System.Void _ReactivateMainTriggerCollider(); // 0x01154c46
    System.Boolean _SearchAttackTarget(); // 0x01154d69
    System.Void _InitCurrentTile(); // 0x01151164
    System.Boolean _CheckTileCanExit(Torappu.Battle.Tile tile); // 0x01154e27
    System.Void UpdateCurrentTile(System.Boolean force); // 0x0115015a
    Torappu.Battle.EnemySkill TryGetFirstAttachedSkill(System.String skillName); // 0x0115508a
    System.Void _UpdateCurrentTile(System.Boolean force); // 0x0114ba28
    System.Void SetHeightDirectly(System.Single height, System.Boolean isDirectly); // 0x01155130
    System.Void SetHeight(System.Single height); // 0x01155275
    System.Void SetEnemyHeightOffset(System.Single offset, System.Boolean instant, System.Boolean isSet); // 0x0115532c
    System.Void AdjustEnemyHeightByInitial(System.Single offset, System.Boolean instant); // 0x01155411
    System.Void SetHeightImmediatelyChange(); // 0x011554de
    System.Void SetEnemyLevitateOffset(System.Single offset); // 0x0115557d
    System.Boolean IsHanging(); // 0x01155634
    System.Void OnRootTileChanged(Torappu.Battle.Tile newTile, Torappu.Battle.Tile oldTile); // 0x011557e4
    System.Void PlayUnbalanceAnimation(); // 0x01155893
    System.Void ModifySpUIFlag(System.Boolean isShow); // 0x0115593b
    System.Void _MoveToBlockPosition(UnityEngine.Vector2 mapPos); // 0x0114d10e
    System.Void FaceToCalculateDirection(UnityEngine.Vector2 moveDir); // 0x011559cc
    System.Void ReachExit(); // 0x01155b19
    UnityEngine.Vector2 _CalculateFaceDirection(UnityEngine.Vector2 moveDir); // 0x011522e2
    System.Boolean _CheckUseIdForAudioSignal(System.String ev); // 0x0114c47c
    System.Void _AssignData(Torappu.LevelData.EnemyData data, Torappu.EnemyHandBookData handbookData); // 0x01150c81
    System.Void _AssignSkill(System.Collections.Generic.IList<Torappu.LevelData.EnemyData.ESkillData> skillsData); // 0x01155be7
    System.Void _AssignTalent(Torappu.Blackboard talentBlackboard); // 0x01156245
    System.Int32 _GetDefaultModeIndex(); // 0x0115664b
    Torappu.Blackboard GetAttackBlackboard(Torappu.Battle.UnitMode mode); // 0x01156888
    System.Boolean TryFindFirstEnabledEnemySkill(System.String skillKey, Torappu.Battle.EnemySkill& skillFound, System.Boolean checkActivate); // 0x01156a15
    System.Void OnAwake(); // 0x01156bf1
    System.Void OnInit(System.Single initHeight); // 0x011571d9
    System.Void OnFinish(Torappu.Battle.Entity.FinishReason reason); // 0x011574f5
    System.Void OnRecycle(); // 0x011578d1
    System.Void OnTick(Torappu.FP fixedDeltaTime); // 0x011579de
    System.Void OnTickAfterDead(Torappu.FP fixedDeltaTime); // 0x01157e6c
    System.Void OnBeforeAttack(Torappu.Battle.Ability ability, System.Boolean isCombat); // 0x01157fba
    System.Void OnAfterAttack(Torappu.Battle.Ability ability, System.Boolean isCombat, Torappu.Battle.Ability.FinishReason reason); // 0x01158184
    System.Boolean CheckTargetInAttackRange(Torappu.Battle.Entity entity); // 0x01158344
    System.Void _InitPhysics(); // 0x01156efc
    System.Boolean TryUpdateEnemySkillSelector(System.String skillKey, System.Boolean checkActivate, System.String blackboardKey, Torappu.FP value); // 0x0115845b
    Torappu.SpData _GenerateSpData(Torappu.LevelData.EnemyData data); // 0x01151073
    static System.Void .cctor(); // 0x0115870d
    System.Void <_MoveToBlockPosition>m__0(UnityEngine.Vector2 pos); // 0x01158778
    System.Void <_MoveToBlockPosition>m__1(); // 0x011587b9
    DG.Tweening.Core.Surrogates.Vector2Wrapper <_MoveToBlockPosition>m__2(); // 0x011587c8
    System.Void <_MoveToBlockPosition>m__3(DG.Tweening.Core.Surrogates.Vector2Wrapper val); // 0x01158831
    System.Void <_MoveToBlockPosition>m__4(); // 0x011588a7
    static System.Int32 <_AssignSkill>m__5(Torappu.Battle.EnemySkill lhs, Torappu.Battle.EnemySkill rhs); // 0x011588b6
    Torappu.SourceApplyWay <>xLuaBaseProxy_get_allApplyWay(); // 0x01158923
    Torappu.FP <>xLuaBaseProxy_get_maxEp(); // 0x01158949
    Torappu.Battle.UnitMode <>xLuaBaseProxy_get_defaultMode(); // 0x01158978
    System.Boolean <>xLuaBaseProxy_get_hasCombat(); // 0x0115899e
    System.Boolean <>xLuaBaseProxy_get_isMovingBySelf(); // 0x011589c7
    System.Int32 <>xLuaBaseProxy_get_initState(); // 0x011589f0
    System.Single <>xLuaBaseProxy_get_delayToRecycle(); // 0x01158a16
    System.Void <>xLuaBaseProxy_Born(); // 0x01158a3c
    System.Single <>xLuaBaseProxy_GetModeRangeRadius(Torappu.Battle.UnitMode P0); // 0x01158a62
    Torappu.Battle.Abilities.AbstractBasicAttack <>xLuaBaseProxy_GetCurrentAttackOrCombatAbility(); // 0x01158a8c
    Torappu.Battle.Entity <>xLuaBaseProxy_FetchHost(); // 0x01158ab2
    System.Void <>xLuaBaseProxy_PopulateSnapshotToHashBuilder(Torappu.HashCodeBuilder P0); // 0x01158ad8
    System.Void <>xLuaBaseProxy_PopulateSnapshotToStrBuilder(System.Text.StringBuilder P0); // 0x01158b02
    System.Void <>xLuaBaseProxy_GatherEffects(System.Collections.Generic.List<System.String> P0); // 0x01158b2c
    System.Void <>xLuaBaseProxy_ChangePathMotionMode(Torappu.MotionMode P0); // 0x01158b56
    System.Void <>xLuaBaseProxy_OnReset(); // 0x01158b80
    System.Void <>xLuaBaseProxy_OnBorn(); // 0x01158ba6
    System.Void <>xLuaBaseProxy_OnReborn(Torappu.Battle.Unit.RebornData P0); // 0x01158bcc
    System.Void <>xLuaBaseProxy_SetBodyAndFaceDirection(UnityEngine.Vector2 P0, System.Boolean P1); // 0x01158c08
    System.Void <>xLuaBaseProxy_OnFaceChanged(UnityEngine.Vector2 P0, UnityEngine.Vector2 P1, System.Boolean P2, System.Boolean P3); // 0x01158c54
    System.Void <>xLuaBaseProxy_OnDisappearChanged(System.Boolean P0); // 0x01158ccb
    System.Void <>xLuaBaseProxy_OnSwitchMode(Torappu.Battle.UnitMode P0, Torappu.Battle.UnitMode P1, System.Boolean P2); // 0x01158cfd
    System.Void <>xLuaBaseProxy_OnHpZero(System.Boolean P0, System.Boolean P1); // 0x01158d41
    System.Void <>xLuaBaseProxy_OnAttributeDirty(Torappu.AttributeType P0, Torappu.FP P1); // 0x01158d7e
    System.Void <>xLuaBaseProxy_FinishMe(Torappu.Battle.Entity.FinishReason P0); // 0x01158dc7
    System.Void <>xLuaBaseProxy_DoFakeDeath(Torappu.Battle.Unit.RebornData P0); // 0x01158df1
    System.Void <>xLuaBaseProxy_DoReborn(Torappu.Battle.Unit.RebornData P0); // 0x01158e2d
    System.Void <>xLuaBaseProxy_SetHeight(System.Single P0); // 0x01158e69
    Torappu.Blackboard <>xLuaBaseProxy_GetAttackBlackboard(Torappu.Battle.UnitMode P0); // 0x01158e9e
    System.Void <>xLuaBaseProxy_OnAwake(); // 0x01158ec8
    System.Void <>xLuaBaseProxy_OnInit(System.Single P0); // 0x01158eee
    System.Void <>xLuaBaseProxy_OnFinish(Torappu.Battle.Entity.FinishReason P0); // 0x01158f23
    System.Void <>xLuaBaseProxy_OnRecycle(); // 0x01158f4d
    System.Void <>xLuaBaseProxy_OnTick(Torappu.FP P0); // 0x01158f73
}

output

il2cpp: couldn't invoke method .ctor as it needs 2 parameter(s), not 1
    at invokeRaw (il2cpp/structs/method.ts:242)
    at maybeObjectHeaderSize (il2cpp/structs/method.ts:366)
    at get (il2cpp/structs/method.ts:323)
    at toString (il2cpp/structs/value-type.ts:35)
    at concat (native)
    at callback (il2cpp/tracer.ts:304)
EduModsS commented 4 months ago

try disable trace of .ctor

klass.method(".ctor").overload("System.Int32").revert()

do it with both .ctor, just change the type (int32) to the other type. then try again

vfsfitvnm commented 3 months ago

Thanks for reporting. What's the app name and platform?

Redsob commented 2 months ago

Thanks for reporting. What's the app name and platform?

arknights ,in my android phone