// // cocos2d::CCMenuItemToggle::initWithItem from 0xd67460 to 0xd67508 (168 bytes) // // 3 xrefs: // > cocos2d::CCMenuItemToggle::create @ 0xd6756c // > cocos2d::CCMenuItemToggle::create @ 0xd675f0 // > @ 0xb4430 // // 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:07:54 +0000 // __int64 __fastcall cocos2d::CCMenuItemToggle::initWithItem(cocos2d::CCArray **this, cocos2d::CCMenuItem *a2) { void (__fastcall *v4)(cocos2d::CCArray **, cocos2d::CCArray *); // x21 cocos2d::CCArray *v5; // x0 cocos2d::CCArray *v6; // x2 cocos2d::CCMenuItem::initWithTarget((__int64)this, 0, 0, 0); v4 = *((void (__fastcall **)(cocos2d::CCArray **, cocos2d::CCArray *))*this + 137); v5 = cocos2d::CCArray::create(*this); v4(this, v5); if ( a2 ) cocos2d::CCArray::addObject(*(this + 48), a2); v6 = *this; *((_DWORD *)this + 94) = -1; (*((void (__fastcall **)(cocos2d::CCArray **, _QWORD))v6 + 135))(this, 0); (*((void (__fastcall **)(cocos2d::CCArray **, __int64))*this + 123))(this, 1); (*((void (__fastcall **)(cocos2d::CCArray **, __int64))*this + 117))(this, 1); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source