// // cocos2d::CCMenuItemSprite::setSelectedImage from 0xd65924 to 0xd659f4 (208 bytes) // // 8 xrefs: // > @ 0x87d30 // > @ 0x1416bf8 // > @ 0x141dca8 // > @ 0x1431508 // > @ 0x1488158 // > @ 0x14e1858 // > @ 0x1525e28 // > @ 0x1526328 // // 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::setSelectedImage(cocos2d::CCMenuItemSprite *this, cocos2d::CCNode *a2) { void (__fastcall *v4)(cocos2d::CCNode *, float *); // x22 __int64 v5; // x1 __int64 v6; // x1 float v8; // [xsp+40h] [xbp+40h] BYREF if ( *((cocos2d::CCNode **)this + 47) != a2 ) { if ( a2 ) { (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *, cocos2d::CCNode *, _QWORD, __int64))(*(_QWORD *)this + 472LL))( this, a2, 0, 2); v4 = *(void (__fastcall **)(cocos2d::CCNode *, float *))(*(_QWORD *)a2 + 296LL); cocos2d::CCPoint::CCPoint(&v8, 0.0, 0.0); v4(a2, &v8); } v5 = *((_QWORD *)this + 48); if ( v5 ) (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *, __int64, __int64))(*(_QWORD *)this + 552LL))(this, v5, 1); v6 = *(_QWORD *)this; *((_QWORD *)this + 48) = a2; (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *))(v6 + 1120))(this); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source