{"type": "func", "start": 4299951100, "end": 4299951224, "name": "DeathTrackerPopup::show", "pseudocode": "// \n// DeathTrackerPopup::show from 0x1004c0bfc to 0x1004c0c78 (124 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009846e0\n// \n// This function is hookable on this platform (idp: arm, 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:06:19 +0000\n// \n\n__int64 __fastcall DeathTrackerPopup::show(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x20\n  int v5; // w2\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = *(_QWORD *)(a1 + 568);\n  if ( v3 )\n  {\n    if ( !*(_DWORD *)(a1 + 592) )\nLABEL_3:\n      *(_DWORD *)(a1 + 592) = 110;\n  }\n  else\n  {\n    v3 = *(_QWORD *)(v2 + 272);\n    if ( (int)cocos2d::CCScene::getHighestChildZ(v3) < 110 )\n      v5 = 110;\n    else\n      v5 = cocos2d::CCScene::getHighestChildZ(v3) + 1;\n    *(_DWORD *)(a1 + 592) = v5;\n    if ( !v5 )\n      goto LABEL_3;\n  }\n  return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, a1);\n}", "assembly": "; \n; DeathTrackerPopup::show from 0x1004c0bfc to 0x1004c0c78 (124 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009846e0\n; \n; This function is hookable on this platform (idp: arm, 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:06:19 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004c0bfc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004c0c00\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004c0c04\nMOV             X19, X0                                                ; +0xc, 0x1004c0c08\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1004c0c0c\nLDR             X20, [X19,#0x238]                                      ; +0x14, 0x1004c0c10\nCBZ             X20, loc_1004C0C44                                     ; +0x18, 0x1004c0c14\nLDR             W2, [X19,#0x250]                                       ; +0x1c, 0x1004c0c18\nCBNZ            W2, loc_1004C0C28                                      ; +0x20, 0x1004c0c1c\nMOV             W2, #0x6E ; 'n'                                        ; +0x24, 0x1004c0c20\nSTR             W2, [X19,#0x250]                                       ; +0x28, 0x1004c0c24\nLDR             X8, [X20]                                              ; +0x2c, 0x1004c0c28\nLDR             X3, [X8,#0x1D0]                                        ; +0x30, 0x1004c0c2c\nMOV             X0, X20                                                ; +0x34, 0x1004c0c30\nMOV             X1, X19                                                ; +0x38, 0x1004c0c34\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1004c0c38\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1004c0c3c\nBR              X3                                                     ; +0x44, 0x1004c0c40\nLDR             X20, [X0,#0x110]                                       ; +0x48, 0x1004c0c44\nMOV             X0, X20                                                ; +0x4c, 0x1004c0c48\nBL              cocos2d__CCScene__getHighestChildZ                     ; +0x50, 0x1004c0c4c\nCMP             W0, #0x6E ; 'n'                                        ; +0x54, 0x1004c0c50\nB.LT            loc_1004C0C68                                          ; +0x58, 0x1004c0c54\nMOV             X0, X20                                                ; +0x5c, 0x1004c0c58\nBL              cocos2d__CCScene__getHighestChildZ                     ; +0x60, 0x1004c0c5c\nADD             W2, W0, #1                                             ; +0x64, 0x1004c0c60\nB               loc_1004C0C6C                                          ; +0x68, 0x1004c0c64\nMOV             W2, #0x6E ; 'n'                                        ; +0x6c, 0x1004c0c68\nSTR             W2, [X19,#0x250]                                       ; +0x70, 0x1004c0c6c\nCBNZ            W2, loc_1004C0C28                                      ; +0x74, 0x1004c0c70\nB               loc_1004C0C20                                          ; +0x78, 0x1004c0c74", "xrefs": ["<???> @ 0x1009846e0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}