// // ControlMenuTouch::addMenu from 0xbd31d4 to 0xbd3244 (112 bytes) // // 6 xrefs: // > GJRotationControl::init @ 0xbd3ed0 // > GJRotationControl::init @ 0xbd4158 // > GJScaleControl::init @ 0xbd42c8 // > GJScaleControl::init @ 0xbd4504 // > GJTransformControl::init @ 0xbd4a4c // > @ 0x56668 // // 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:03:38 +0000 // void __fastcall ControlMenuTouch::addMenu(ControlMenuTouch *this, cocos2d::CCMenu *a2) { cocos2d::CCMenu **v3; // x0 cocos2d::CCMenu *v4; // [xsp+28h] [xbp+28h] BYREF v4 = a2; (*(void (__fastcall **)(cocos2d::CCMenu *, _QWORD))(*(_QWORD *)a2 + 1000LL))(a2, 0); v3 = *((cocos2d::CCMenu ***)this + 1); if ( v3 == *((cocos2d::CCMenu ***)this + 2) ) { std::vector::__push_back_slow_path((__int64)this, &v4); } else { if ( v3 ) { *v3 = v4; v3 = *((cocos2d::CCMenu ***)this + 1); } *((_QWORD *)this + 1) = v3 + 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source