// // cocos2d::CCMenuItemSprite::setNormalImage from 0x1003a8f70 to 0x1003a9022 (178 bytes) // // 7 xrefs: // > @ 0x100aeffc0 // > @ 0x100af5b90 // > @ 0x100b14688 // > @ 0x100b34ac8 // > @ 0x100b34fd8 // > @ 0x100b72db8 // > @ 0x100b7fbe8 // // 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 12:29:23 +0000 // __int64 __fastcall cocos2d::CCMenuItemSprite::setNormalImage(_QWORD *a1, __int64 a2) { __int64 result; // rax __int64 v4; // rsi __int64 v5; // rax float v6[8]; // [rsp+0h] [rbp-20h] BYREF *(_QWORD *)v6 = result; v4 = a1[47]; if ( v4 != a2 ) { if ( a2 ) { (*(void (__fastcall **)(_QWORD *, __int64, _QWORD, __int64))(*a1 + 472LL))(a1, a2, 0, 1); sub_100278250(v6, 0.0, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a2 + 296LL))(a2, v6); v4 = a1[47]; } if ( v4 ) (*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1 + 552LL))(a1, v4, 1); a1[47] = a2; v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 328LL))(a2); (*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 320LL))(a1, v5); return (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 1120LL))(a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source