// // CCMenuItemSpriteExtra::init from 0x6916e8 to 0x691850 (360 bytes) // // 5 xrefs: // > CCMenuItemSpriteExtra::create @ 0x691958 // > RowPressItem::create @ 0x739cbc // > InfoAlertButton::init @ 0xa3f390 // > CreateMenuItem::init @ 0xbcb158 // > @ 0xf7048 // // 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 12:50:35 +0000 // __int64 __fastcall CCMenuItemSpriteExtra::init(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6) { unsigned __int8 v8; // w0 unsigned int v9; // w21 void (__fastcall *v10)(__int64, _BYTE *); // x24 void (__fastcall *v11)(__int64, _BYTE *); // x24 float v12; // s9 float v13; // s9 float v14; // s8 float v15; // s0 void (__fastcall *v16)(__int64, _BYTE *); // x24 cocos2d::CCNode *v17; // x0 _BYTE v19[8]; // [xsp+50h] [xbp+50h] BYREF v8 = cocos2d::CCMenuItemSprite::initWithNormalSprite(a1, a2, a3, 0, a4, a5, a6); v9 = v8; if ( v8 ) { *(float *)(a1 + 404) = 1.0; v10 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a2 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, 0.5, 0.5); v10(a2, v19); v11 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 320LL); v12 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 328LL))(a2); v13 = v12 * (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 136LL))(a2); v14 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 328LL))(a2) + 4); v15 = (*(float (__fastcall **)(__int64))(*(_QWORD *)a2 + 152LL))(a2); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v19, v13, v14 * v15); v11(a1, v19); v16 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a2 + 184LL); v17 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 512LL))(a2); cocos2d::CCNode::convertToNodeSpace(v17, (const cocos2d::CCPoint *)&unk_155A888); v16(a2, v19); *(_BYTE *)(a1 + 408) = 1; *(_DWORD *)(a1 + 400) = 1067534254; } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source