{"type": "func", "start": 4304240768, "end": 4304240891, "name": "DeathTrackerPopup::show", "pseudocode": "// \n// DeathTrackerPopup::show from 0x1008d8080 to 0x1008d80fb (123 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bb1ae0\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:42 +0000\n// \n\n__int64 __fastcall DeathTrackerPopup::show(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // r14\n  int HighestChildZ; // eax\n  int v5; // edx\n\n  v1 = cocos2d::CCDirector::sharedDirector();\n  v2 = *(_QWORD *)(a1 + 568);\n  if ( v2 )\n  {\n    if ( !*(_DWORD *)(a1 + 592) )\nLABEL_3:\n      *(_DWORD *)(a1 + 592) = 110;\n  }\n  else\n  {\n    v2 = *(_QWORD *)(v1 + 272);\n    HighestChildZ = cocos2d::CCScene::getHighestChildZ(v2);\n    v5 = 110;\n    if ( HighestChildZ >= 110 )\n      v5 = cocos2d::CCScene::getHighestChildZ(v2) + 1;\n    *(_DWORD *)(a1 + 592) = v5;\n    if ( !v5 )\n      goto LABEL_3;\n  }\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 464LL))(v2, a1);\n}", "assembly": "; \n; DeathTrackerPopup::show from 0x1008d8080 to 0x1008d80fb (123 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bb1ae0\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:42 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008d8080\nmov     rbp, rsp                                                       ; +0x1, 0x1008d8081\npush    r14                                                            ; +0x4, 0x1008d8084\npush    rbx                                                            ; +0x6, 0x1008d8086\nmov     rbx, rdi                                                       ; +0x7, 0x1008d8087\ncall    cocos2d__CCDirector__sharedDirector                            ; +0xa, 0x1008d808a\nmov     r14, [rbx+238h]                                                ; +0xf, 0x1008d808f\ntest    r14, r14                                                       ; +0x16, 0x1008d8096\njz      short loc_1008D80CA                                            ; +0x19, 0x1008d8099\nmov     edx, [rbx+250h]                                                ; +0x1b, 0x1008d809b\ntest    edx, edx                                                       ; +0x21, 0x1008d80a1\njnz     short loc_1008D80B4                                            ; +0x23, 0x1008d80a3\nmov     dword ptr [rbx+250h], 6Eh ; 'n'                                ; +0x25, 0x1008d80a5\nmov     edx, 6Eh ; 'n'                                                 ; +0x2f, 0x1008d80af\nmov     rax, [r14]                                                     ; +0x34, 0x1008d80b4\nmov     rax, [rax+1D0h]                                                ; +0x37, 0x1008d80b7\nmov     rdi, r14                                                       ; +0x3e, 0x1008d80be\nmov     rsi, rbx                                                       ; +0x41, 0x1008d80c1\npop     rbx                                                            ; +0x44, 0x1008d80c4\npop     r14                                                            ; +0x45, 0x1008d80c5\npop     rbp                                                            ; +0x47, 0x1008d80c7\njmp     rax                                                            ; +0x48, 0x1008d80c8\nmov     r14, [rax+110h]                                                ; +0x4a, 0x1008d80ca\nmov     rdi, r14                                                       ; +0x51, 0x1008d80d1\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x54, 0x1008d80d4\nmov     edx, 6Eh ; 'n'                                                 ; +0x59, 0x1008d80d9\ncmp     eax, 6Eh ; 'n'                                                 ; +0x5e, 0x1008d80de\njl      short loc_1008D80EF                                            ; +0x61, 0x1008d80e1\nmov     rdi, r14                                                       ; +0x63, 0x1008d80e3\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x66, 0x1008d80e6\nmov     edx, eax                                                       ; +0x6b, 0x1008d80eb\ninc     edx                                                            ; +0x6d, 0x1008d80ed\nmov     [rbx+250h], edx                                                ; +0x6f, 0x1008d80ef\ntest    edx, edx                                                       ; +0x75, 0x1008d80f5\njnz     short loc_1008D80B4                                            ; +0x77, 0x1008d80f7\njmp     short loc_1008D80A5                                            ; +0x79, 0x1008d80f9", "xrefs": ["<???> @ 0x100bb1ae0"], "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"}