// // cocos2d::CCMenuItemSprite::initWithNormalSprite from 0x18005d000 to 0x18005d0bf (191 bytes) // // 8 xrefs: // > cocos2d::CCMenuItemImage::create @ 0x18005c5ea // > cocos2d::CCMenuItemImage::create @ 0x18005c703 // > cocos2d::CCMenuItemImage::create @ 0x18005c7fb // > cocos2d::CCMenuItemSprite::create @ 0x18005ca84 // > cocos2d::CCMenuItemImage::init @ 0x18005cdd8 // > cocos2d::CCMenuItemImage::initWithNormalImage @ 0x18005cfec // > @ 0x18014cf68 // > @ 0x1801bd03c // // 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 // char __fastcall cocos2d::CCMenuItemSprite::initWithNormalSprite( _QWORD *a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6) { __int64 v10; // rdx __int64 v11; // rcx __int64 v12; // rbx __int64 v13; // rax __int64 v14; // rdx cocos2d::CCMenuItem::initWithTarget(a1, a5, a6); (*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 960LL))(a1, a2); (*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 976LL))(a1, a3); (*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 992LL))(a1, a4); v11 = a1[47]; if ( v11 ) { v12 = *a1; v13 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 320LL))(v11); (*(void (__fastcall **)(_QWORD *, __int64))(v12 + 312))(a1, v13); } LOBYTE(v10) = 1; (*(void (__fastcall **)(_QWORD *, __int64))(a1[40] + 72LL))(a1 + 40, v10); LOBYTE(v14) = 1; (*(void (__fastcall **)(_QWORD *, __int64))(a1[40] + 96LL))(a1 + 40, v14); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source