{"type": "func", "start": 4304183104, "end": 4304183237, "name": "DeathStatsPopup::onClose", "pseudocode": "// \n// DeathStatsPopup::onClose from 0x1008c9f40 to 0x1008c9fc5 (133 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bb0a20\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 12:37:34 +0000\n// \n\n__int64 __fastcall DeathStatsPopup::onClose(_QWORD *a1)\n{\n  _QWORD *v2; // rdi\n  _QWORD *v3; // r14\n\n  cocos2d::CCNode::unschedule((__int64)a1, (__int64)sub_1008C97C0, 0);\n  v2 = (_QWORD *)a1[128];\n  v3 = (_QWORD *)a1[129];\n  if ( v2 )\n  {\n    v2[73] = 0;\n    (*(void (__fastcall **)(_QWORD *, _QWORD))(*v2 + 1160LL))(v2, 0);\n  }\n  if ( v3 )\n  {\n    v3[73] = 0;\n    (*(void (__fastcall **)(_QWORD *, _QWORD))(*v3 + 1160LL))(v3, 0);\n  }\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0);\n  return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1);\n}", "assembly": "; \n; DeathStatsPopup::onClose from 0x1008c9f40 to 0x1008c9fc5 (133 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bb0a20\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 12:37:34 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008c9f40\nmov     rbp, rsp                                                       ; +0x1, 0x1008c9f41\npush    r14                                                            ; +0x4, 0x1008c9f44\npush    rbx                                                            ; +0x6, 0x1008c9f46\nmov     rbx, rdi                                                       ; +0x7, 0x1008c9f47\nlea     rsi, sub_1008C97C0                                             ; +0xa, 0x1008c9f4a\nxor     edx, edx                                                       ; +0x11, 0x1008c9f51\ncall    cocos2d__CCNode__unschedule                                    ; +0x13, 0x1008c9f53\nmov     rdi, [rbx+400h]                                                ; +0x18, 0x1008c9f58\nmov     r14, [rbx+408h]                                                ; +0x1f, 0x1008c9f5f\ntest    rdi, rdi                                                       ; +0x26, 0x1008c9f66\njz      short loc_1008C9F81                                            ; +0x29, 0x1008c9f69\nmov     qword ptr [rdi+248h], 0                                        ; +0x2b, 0x1008c9f6b\nmov     rax, [rdi]                                                     ; +0x36, 0x1008c9f76\nxor     esi, esi                                                       ; +0x39, 0x1008c9f79\ncall    qword ptr [rax+488h]                                           ; +0x3b, 0x1008c9f7b\ntest    r14, r14                                                       ; +0x41, 0x1008c9f81\njz      short loc_1008C9F9F                                            ; +0x44, 0x1008c9f84\nmov     qword ptr [r14+248h], 0                                        ; +0x46, 0x1008c9f86\nmov     rax, [r14]                                                     ; +0x51, 0x1008c9f91\nmov     rdi, r14                                                       ; +0x54, 0x1008c9f94\nxor     esi, esi                                                       ; +0x57, 0x1008c9f97\ncall    qword ptr [rax+488h]                                           ; +0x59, 0x1008c9f99\nmov     rax, [rbx]                                                     ; +0x5f, 0x1008c9f9f\nmov     rdi, rbx                                                       ; +0x62, 0x1008c9fa2\nxor     esi, esi                                                       ; +0x65, 0x1008c9fa5\ncall    qword ptr [rax+430h]                                           ; +0x67, 0x1008c9fa7\nmov     rax, [rbx]                                                     ; +0x6d, 0x1008c9fad\nmov     rax, [rax+210h]                                                ; +0x70, 0x1008c9fb0\nmov     rdi, rbx                                                       ; +0x77, 0x1008c9fb7\nmov     esi, 1                                                         ; +0x7a, 0x1008c9fba\npop     rbx                                                            ; +0x7f, 0x1008c9fbf\npop     r14                                                            ; +0x80, 0x1008c9fc0\npop     rbp                                                            ; +0x82, 0x1008c9fc2\njmp     rax                                                            ; +0x83, 0x1008c9fc3", "xrefs": ["<???> @ 0x100bb0a20"], "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"}