// // cocos2d::CCMenuItemSprite::setNormalImage from 0xd6582c to 0xd65924 (248 bytes) // // 8 xrefs: // > @ 0x636e8 // > @ 0x1416be8 // > @ 0x141dc98 // > @ 0x14314f8 // > @ 0x1488148 // > @ 0x14e1848 // > @ 0x1525e18 // > @ 0x1526318 // // 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::CCMenuItemSprite::setNormalImage(cocos2d::CCMenuItemSprite *this, cocos2d::CCNode *a2) { cocos2d::CCNode *v4; // x2 void (__fastcall *v5)(cocos2d::CCNode *, float *); // x22 cocos2d::CCNode *v6; // x0 __int64 v7; // x1 void (__fastcall *v8)(cocos2d::CCMenuItemSprite *, __int64); // x20 __int64 v9; // x0 float v11; // [xsp+40h] [xbp+40h] BYREF v4 = *((cocos2d::CCNode **)this + 47); if ( v4 != a2 ) { if ( a2 ) { (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *, cocos2d::CCNode *, _QWORD, __int64))(*(_QWORD *)this + 472LL))( this, a2, 0, 1); v5 = *(void (__fastcall **)(cocos2d::CCNode *, float *))(*(_QWORD *)a2 + 296LL); cocos2d::CCPoint::CCPoint(&v11, 0.0, 0.0); v5(a2, &v11); v4 = *((cocos2d::CCNode **)this + 47); } if ( v4 ) (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *, cocos2d::CCNode *, __int64))(*(_QWORD *)this + 552LL))( this, v4, 1); *((_QWORD *)this + 47) = a2; v6 = a2; v7 = *(_QWORD *)a2; v8 = *(void (__fastcall **)(cocos2d::CCMenuItemSprite *, __int64))(*(_QWORD *)this + 320LL); v9 = (*(__int64 (__fastcall **)(cocos2d::CCNode *))(v7 + 328))(v6); v8(this, v9); (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *))(*(_QWORD *)this + 1120LL))(this); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source