// // cocos2d::CCMenuItemSprite::setNormalImage from 0x18005da20 to 0x18005dad1 (177 bytes) // // 6 xrefs: // > @ 0x1800febc8 // > @ 0x1800ff038 // > @ 0x180142014 // > @ 0x180142024 // > @ 0x18014cf68 // > @ 0x1801bd1c8 // // 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::setNormalImage( cocos2d::CCMenuItemSprite *this, struct cocos2d::CCNode *a2, __int64 a3) { __int64 v5; // rbx float *v6; // rax __int64 v7; // rdx __int64 v8; // rbx __int64 v9; // rax float v10; // [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, 1); v5 = *(_QWORD *)a2; v6 = kmVec2Fill(&v10, 0.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCNode *, float *))(v5 + 288))(a2, v6); } v7 = *((_QWORD *)this + 47); if ( v7 ) { LOBYTE(a3) = 1; (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *, __int64, __int64))(*(_QWORD *)this + 536LL))(this, v7, a3); } v8 = *(_QWORD *)this; *((_QWORD *)this + 47) = a2; v9 = (*(__int64 (__fastcall **)(struct cocos2d::CCNode *))(*(_QWORD *)a2 + 320LL))(a2); (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *, __int64))(v8 + 312))(this, v9); (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *))(*(_QWORD *)this + 1000LL))(this); } }