// // cocos2d::CCMenuItem::activate from 0x18005c130 to 0x18005c185 (85 bytes) // // 5 xrefs: // > @ 0x1800fda40 // > @ 0x1800feb80 // > @ 0x1800feff0 // > @ 0x18014cf68 // > @ 0x1801bceec // // 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::CCMenuItem::activate(cocos2d::CCMenuItem *this) { __int64 v2; // rcx void (__fastcall *v3)(__int64, cocos2d::CCMenuItem *); // rax struct cocos2d::CCScriptEngineManager *v4; // rax if ( *((_BYTE *)this + 345) ) { v2 = *((_QWORD *)this + 44); if ( v2 ) { v3 = *((void (__fastcall **)(__int64, cocos2d::CCMenuItem *))this + 45); if ( v3 ) v3(v2, this); } if ( *((_DWORD *)this + 75) ) { v4 = cocos2d::CCScriptEngineManager::sharedManager(); (*(void (__fastcall **)(_QWORD, cocos2d::CCMenuItem *))(**(_QWORD **)v4 + 72LL))(*(_QWORD *)v4, this); } } }