{"type": "func", "start": 4300260968, "end": 4300261096, "name": "NewThreadPopup::show", "pseudocode": "// \n// NewThreadPopup::show from 0x10050c668 to 0x10050c6e8 (128 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009989e0\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:07:00 +0000\n// \n\nvoid __fastcall NewThreadPopup::show(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x20\n  int v4; // 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      v4 = 110;\n    else\n      v4 = cocos2d::CCScene::getHighestChildZ(v3) + 1;\n    *(_DWORD *)(a1 + 592) = v4;\n    if ( !v4 )\n      goto LABEL_3;\n  }\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, a1);\n  sub_1004F7C70();\n}", "assembly": "; \n; NewThreadPopup::show from 0x10050c668 to 0x10050c6e8 (128 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009989e0\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:07:00 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10050c668\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10050c66c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10050c670\nMOV             X19, X0                                                ; +0xc, 0x10050c674\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x10050c678\nLDR             X20, [X19,#0x238]                                      ; +0x14, 0x10050c67c\nCBZ             X20, loc_10050C6B4                                     ; +0x18, 0x10050c680\nLDR             W2, [X19,#0x250]                                       ; +0x1c, 0x10050c684\nCBNZ            W2, loc_10050C694                                      ; +0x20, 0x10050c688\nMOV             W2, #0x6E ; 'n'                                        ; +0x24, 0x10050c68c\nSTR             W2, [X19,#0x250]                                       ; +0x28, 0x10050c690\nLDR             X8, [X20]                                              ; +0x2c, 0x10050c694\nLDR             X8, [X8,#0x1D0]                                        ; +0x30, 0x10050c698\nMOV             X0, X20                                                ; +0x34, 0x10050c69c\nMOV             X1, X19                                                ; +0x38, 0x10050c6a0\nBLR             X8                                                     ; +0x3c, 0x10050c6a4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x10050c6a8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x10050c6ac\nB               sub_1004F7C70                                          ; +0x48, 0x10050c6b0\nLDR             X20, [X0,#0x110]                                       ; +0x4c, 0x10050c6b4\nMOV             X0, X20                                                ; +0x50, 0x10050c6b8\nBL              cocos2d__CCScene__getHighestChildZ                     ; +0x54, 0x10050c6bc\nCMP             W0, #0x6E ; 'n'                                        ; +0x58, 0x10050c6c0\nB.LT            loc_10050C6D8                                          ; +0x5c, 0x10050c6c4\nMOV             X0, X20                                                ; +0x60, 0x10050c6c8\nBL              cocos2d__CCScene__getHighestChildZ                     ; +0x64, 0x10050c6cc\nADD             W2, W0, #1                                             ; +0x68, 0x10050c6d0\nB               loc_10050C6DC                                          ; +0x6c, 0x10050c6d4\nMOV             W2, #0x6E ; 'n'                                        ; +0x70, 0x10050c6d8\nSTR             W2, [X19,#0x250]                                       ; +0x74, 0x10050c6dc\nCBNZ            W2, loc_10050C694                                      ; +0x78, 0x10050c6e0\nB               loc_10050C68C                                          ; +0x7c, 0x10050c6e4", "xrefs": ["<???> @ 0x1009989e0"], "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"}