// // cocos2d::CCMenuItem::initWithTarget from 0xd66478 to 0xd66520 (168 bytes) // // 8 xrefs: // > CCMenuItemToggler::init @ 0x692124 // > cocos2d::CCMenuItem::create @ 0xd66590 // > cocos2d::CCMenuItemLabel::initWithLabel @ 0xd66658 // > cocos2d::CCMenuItemSprite::initWithNormalSprite @ 0xd66b74 // > cocos2d::CCMenuItemToggle::createWithTarget @ 0xd671e4 // > cocos2d::CCMenuItemToggle::initWithTarget @ 0xd6727c // > cocos2d::CCMenuItemToggle::initWithItem @ 0xd67484 // > @ 0x82ba0 // // 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:53 +0000 // __int64 __fastcall cocos2d::CCMenuItem::initWithTarget(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { void (__fastcall *v8)(__int64, float *); // x25 float v10; // [xsp+50h] [xbp+50h] BYREF v8 = *(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 296LL); cocos2d::CCPoint::CCPoint(&v10, 0.5, 0.5); v8(a1, &v10); *(_QWORD *)(a1 + 344) = a2; *(_QWORD *)(a1 + 352) = a3; *(_QWORD *)(a1 + 360) = a4; *(_BYTE *)(a1 + 339) = 1; *(_BYTE *)(a1 + 338) = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source