// // cocos2d::CCMenuItemSprite::setSelectedImage from 0x18005db20 to 0x18005dbb2 (146 bytes) // // 6 xrefs: // > @ 0x1800febd8 // > @ 0x1800ff048 // > @ 0x180142038 // > @ 0x180142048 // > @ 0x18014cf68 // > @ 0x1801bd1f8 // // This function is hookable on this platform (idp: pc, 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 11:21:49 +0000 // void __fastcall cocos2d::CCMenuItemSprite::setSelectedImage( cocos2d::CCMenuItemSprite *this, struct cocos2d::CCNode *a2, __int64 a3) { __int64 v5; // rbx float *v6; // rax __int64 v7; // rdx __int64 v8; // rax float v9; // [rsp+30h] [rbp+8h] BYREF if ( a2 != *((struct cocos2d::CCNode **)this + 47) ) { if ( a2 ) { (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *, struct cocos2d::CCNode *, _QWORD, __int64))(*(_QWORD *)this + 448LL))( this, a2, 0, 2); v5 = *(_QWORD *)a2; v6 = kmVec2Fill(&v9, 0.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCNode *, float *))(v5 + 288))(a2, v6); } v7 = *((_QWORD *)this + 48); if ( v7 ) { LOBYTE(a3) = 1; (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *, __int64, __int64))(*(_QWORD *)this + 536LL))(this, v7, a3); } v8 = *(_QWORD *)this; *((_QWORD *)this + 48) = a2; (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *))(v8 + 1000))(this); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source