; ; cocos2d::CCMenuItem::activate from 0x18005a140 to 0x18005a195 (85 bytes) ; ; 5 xrefs: ; > @ 0x1800f75c8 ; > @ 0x1800f86c8 ; > @ 0x1800f8b28 ; > @ 0x1801438a8 ; > @ 0x1801b2c4c ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x18005a140 sub rsp, 20h ; +0x2, 0x18005a142 cmp byte ptr [rcx+159h], 0 ; +0x6, 0x18005a146 mov rbx, rcx ; +0xd, 0x18005a14d jz short loc_18005A18F ; +0x10, 0x18005a150 mov rcx, [rcx+160h] ; +0x12, 0x18005a152 test rcx, rcx ; +0x19, 0x18005a159 jz short loc_18005A16F ; +0x1c, 0x18005a15c mov rax, [rbx+168h] ; +0x1e, 0x18005a15e test rax, rax ; +0x25, 0x18005a165 jz short loc_18005A16F ; +0x28, 0x18005a168 mov rdx, rbx ; +0x2a, 0x18005a16a call rax ; +0x2d, 0x18005a16d cmp dword ptr [rbx+12Ch], 0 ; +0x2f, 0x18005a16f jz short loc_18005A18F ; +0x36, 0x18005a176 call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x38, 0x18005a178 mov rdx, rbx ; +0x3d, 0x18005a17d mov rcx, [rax] ; +0x40, 0x18005a180 mov rax, [rcx] ; +0x43, 0x18005a183 add rsp, 20h ; +0x46, 0x18005a186 pop rbx ; +0x4a, 0x18005a18a jmp qword ptr [rax+48h] ; +0x4b, 0x18005a18b add rsp, 20h ; +0x4f, 0x18005a18f pop rbx ; +0x53, 0x18005a193 retn ; +0x54, 0x18005a194