// // cocos2d::CCMenuItemSprite::setDisabledImage from 0x18005d650 to 0x18005d6e2 (146 bytes) // // 6 xrefs: // > @ 0x1800febe8 // > @ 0x1800ff058 // > @ 0x18014205c // > @ 0x18014206c // > @ 0x18014cf68 // > @ 0x1801bd108 // // 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::setDisabledImage( 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, 3); v5 = *(_QWORD *)a2; v6 = kmVec2Fill(&v9, 0.0, 0.0); (*(void (__fastcall **)(struct cocos2d::CCNode *, float *))(v5 + 288))(a2, v6); } v7 = *((_QWORD *)this + 49); if ( v7 ) { LOBYTE(a3) = 1; (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *, __int64, __int64))(*(_QWORD *)this + 536LL))(this, v7, a3); } v8 = *(_QWORD *)this; *((_QWORD *)this + 49) = a2; (*(void (__fastcall **)(cocos2d::CCMenuItemSprite *))(v8 + 1000))(this); } }