// // cocos2d::CCMenuItem::initWithTarget from 0x18005b220 to 0x18005b292 (114 bytes) // // 8 xrefs: // > cocos2d::CCMenuItem::create @ 0x18005a33a // > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005abca // > cocos2d::CCMenuItemToggle::createWithTarget @ 0x18005aca0 // > cocos2d::CCMenuItemLabel::initWithLabel @ 0x18005aed9 // > cocos2d::CCMenuItemSprite::initWithNormalSprite @ 0x18005b02b // > cocos2d::CCMenuItemToggle::initWithTarget @ 0x18005b2b0 // > @ 0x1801438a8 // > @ 0x1801b2da8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // char __fastcall cocos2d::CCMenuItem::initWithTarget(__int64 *a1, __int64 a2, __int64 a3) { __int64 v4; // rbx float *v7; // rax float v9; // [rsp+30h] [rbp+8h] BYREF v4 = *a1; v7 = kmVec2Fill(&v9, 0.5, 0.5); (*(void (__fastcall **)(__int64 *, float *))(v4 + 272))(a1, v7); a1[44] = a2; a1[45] = a3; *((_WORD *)a1 + 172) = 256; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source