// // cocos2d::CCMenuItemSprite::setSelectedImage from 0x1003a9040 to 0x1003a90d4 (148 bytes) // // 7 xrefs: // > @ 0x100aeffd0 // > @ 0x100af5ba0 // > @ 0x100b14698 // > @ 0x100b34ad8 // > @ 0x100b34fe8 // > @ 0x100b72dc8 // > @ 0x100b7fbf8 // // 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::setSelectedImage(_QWORD *a1, __int64 a2) { __int64 result; // rax __int64 v4; // rsi _QWORD v5[5]; // [rsp-28h] [rbp-28h] BYREF if ( a1[47] != a2 ) { v5[0] = result; if ( a2 ) { (*(void (__fastcall **)(_QWORD *, __int64, _QWORD, __int64))(*a1 + 472LL))(a1, a2, 0, 2); sub_100278250((float *)v5, 0.0, 0.0); (*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)a2 + 296LL))(a2, v5); } v4 = a1[48]; if ( v4 ) (*(void (__fastcall **)(_QWORD *, __int64, __int64))(*a1 + 552LL))(a1, v4, 1); a1[48] = a2; return (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 1120LL))(a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source