; ; 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 ; push rbx ; +0x0, 0x18005c130 sub rsp, 20h ; +0x2, 0x18005c132 cmp byte ptr [rcx+159h], 0 ; +0x6, 0x18005c136 mov rbx, rcx ; +0xd, 0x18005c13d jz short loc_18005C17F ; +0x10, 0x18005c140 mov rcx, [rcx+160h] ; +0x12, 0x18005c142 test rcx, rcx ; +0x19, 0x18005c149 jz short loc_18005C15F ; +0x1c, 0x18005c14c mov rax, [rbx+168h] ; +0x1e, 0x18005c14e test rax, rax ; +0x25, 0x18005c155 jz short loc_18005C15F ; +0x28, 0x18005c158 mov rdx, rbx ; +0x2a, 0x18005c15a call rax ; +0x2d, 0x18005c15d cmp dword ptr [rbx+12Ch], 0 ; +0x2f, 0x18005c15f jz short loc_18005C17F ; +0x36, 0x18005c166 call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x38, 0x18005c168 mov rdx, rbx ; +0x3d, 0x18005c16d mov rcx, [rax] ; +0x40, 0x18005c170 mov rax, [rcx] ; +0x43, 0x18005c173 add rsp, 20h ; +0x46, 0x18005c176 pop rbx ; +0x4a, 0x18005c17a jmp qword ptr [rax+48h] ; +0x4b, 0x18005c17b add rsp, 20h ; +0x4f, 0x18005c17f pop rbx ; +0x53, 0x18005c183 retn ; +0x54, 0x18005c184