// // SetupCameraOffsetTrigger::onTargetMode from 0xaade8c to 0xaadf5c (208 bytes) // // 4 xrefs: // > @ 0xb1748 // > SetupCameraOffsetTrigger::init @ 0xaaffd8 // > SetupCameraOffsetTrigger::init @ 0xab00f4 // > @ 0x15450f0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:00:55 +0000 // __int64 __fastcall SetupCameraOffsetTrigger::onTargetMode(SetupCameraOffsetTrigger *this, cocos2d::CCObject *a2) { int v3; // w20 __int64 v4; // x0 cocos2d::CCArray *v6; // x0 unsigned int v7; // w20 bool v8; // cf unsigned int v9; // w1 v3 = *((_DWORD *)this + 278); if ( v3 == (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) ) { v4 = *((_QWORD *)this + 85); *((_DWORD *)this + 278) = 0; if ( v4 ) goto LABEL_3; } else { *((_DWORD *)this + 278) = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = *((_QWORD *)this + 85); if ( v4 ) { LABEL_3: *(_DWORD *)(v4 + 1512) = *((_DWORD *)this + 278); goto LABEL_4; } } v6 = *((cocos2d::CCArray **)this + 86); if ( v6 ) { v7 = 0; while ( 1 ) { v8 = v7 >= (unsigned int)cocos2d::CCArray::count(v6); v9 = v7++; if ( v8 ) break; *(_DWORD *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v9) + 1512) = *((_DWORD *)this + 278); v6 = *((cocos2d::CCArray **)this + 86); } } LABEL_4: CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 140), *((_DWORD *)this + 278) == 1); return CCMenuItemToggler::toggle(*((CCMenuItemToggler **)this + 141), *((_DWORD *)this + 278) == 2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source