{"type": "func", "start": 6442825824, "end": 6442825897, "name": "cocos2d::CCMenu::onExit", "pseudocode": "// \n// cocos2d::CCMenu::onExit from 0x18005b860 to 0x18005b8a9 (73 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800fd3f8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bce08\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:49 +0000\n// \n\nvoid __fastcall cocos2d::CCMenu::onExit(cocos2d::CCMenu *this)\n{\n  __int64 v2; // rcx\n\n  if ( *((_DWORD *)this + 109) == 1 )\n  {\n    v2 = *((_QWORD *)this + 55);\n    if ( v2 )\n    {\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 904LL))(v2);\n      *((_QWORD *)this + 55) = 0;\n    }\n    *((_DWORD *)this + 109) = 0;\n  }\n  cocos2d::CCLayer::onExit(this);\n}", "assembly": "; \n; cocos2d::CCMenu::onExit from 0x18005b860 to 0x18005b8a9 (73 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800fd3f8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bce08\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:49 +0000\n; \npush    rbx                                                            ; +0x0, 0x18005b860\nsub     rsp, 20h                                                       ; +0x2, 0x18005b862\ncmp     dword ptr [rcx+1B4h], 1                                        ; +0x6, 0x18005b866\nmov     rbx, rcx                                                       ; +0xd, 0x18005b86d\njnz     short loc_18005B89C                                            ; +0x10, 0x18005b870\nmov     rcx, [rcx+1B8h]                                                ; +0x12, 0x18005b872\ntest    rcx, rcx                                                       ; +0x19, 0x18005b879\njz      short loc_18005B892                                            ; +0x1c, 0x18005b87c\nmov     rax, [rcx]                                                     ; +0x1e, 0x18005b87e\ncall    qword ptr [rax+388h]                                           ; +0x21, 0x18005b881\nmov     qword ptr [rbx+1B8h], 0                                        ; +0x27, 0x18005b887\nmov     dword ptr [rbx+1B4h], 0                                        ; +0x32, 0x18005b892\nmov     rcx, rbx; this                                                 ; +0x3c, 0x18005b89c\nadd     rsp, 20h                                                       ; +0x3f, 0x18005b89f\npop     rbx                                                            ; +0x43, 0x18005b8a3\njmp     ?onExit@CCLayer@cocos2d@@UEAAXXZ; cocos2d::CCLayer::onExit(void) ; +0x44, 0x18005b8a4", "xrefs": ["<???> @ 0x1800fd3f8", "<???> @ 0x18014cf68", "<???> @ 0x1801bce08"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}