; ; cocos2d::CCMenu::onExit from 0x18005b860 to 0x18005b8a9 (73 bytes) ; ; 3 xrefs: ; > @ 0x1800fd3f8 ; > @ 0x18014cf68 ; > @ 0x1801bce08 ; ; 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, 0x18005b860 sub rsp, 20h ; +0x2, 0x18005b862 cmp dword ptr [rcx+1B4h], 1 ; +0x6, 0x18005b866 mov rbx, rcx ; +0xd, 0x18005b86d jnz short loc_18005B89C ; +0x10, 0x18005b870 mov rcx, [rcx+1B8h] ; +0x12, 0x18005b872 test rcx, rcx ; +0x19, 0x18005b879 jz short loc_18005B892 ; +0x1c, 0x18005b87c mov rax, [rcx] ; +0x1e, 0x18005b87e call qword ptr [rax+388h] ; +0x21, 0x18005b881 mov qword ptr [rbx+1B8h], 0 ; +0x27, 0x18005b887 mov dword ptr [rbx+1B4h], 0 ; +0x32, 0x18005b892 mov rcx, rbx; this ; +0x3c, 0x18005b89c add rsp, 20h ; +0x3f, 0x18005b89f pop rbx ; +0x43, 0x18005b8a3 jmp ?onExit@CCLayer@cocos2d@@UEAAXXZ; cocos2d::CCLayer::onExit(void) ; +0x44, 0x18005b8a4