{"type": "func", "start": 4300176368, "end": 4300176496, "name": "MessageThreadsPage::show", "pseudocode": "// \n// MessageThreadsPage::show from 0x1004f7bf0 to 0x1004f7c70 (128 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100994f98\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:48 +0000\n// \n\n__int64 __fastcall MessageThreadsPage::show(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x20\n  __int64 v4; // x0\n  int v6; // 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) = 105;\n  }\n  else\n  {\n    v3 = *(_QWORD *)(v2 + 272);\n    if ( (int)cocos2d::CCScene::getHighestChildZ(v3) < 105 )\n      v6 = 105;\n    else\n      v6 = cocos2d::CCScene::getHighestChildZ(v3) + 1;\n    *(_DWORD *)(a1 + 592) = v6;\n    if ( !v6 )\n      goto LABEL_3;\n  }\n  v4 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 464LL))(v3, a1);\n  return sub_1004F7C70(v4);\n}", "assembly": "; \n; MessageThreadsPage::show from 0x1004f7bf0 to 0x1004f7c70 (128 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100994f98\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:48 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004f7bf0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004f7bf4\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004f7bf8\nMOV             X19, X0                                                ; +0xc, 0x1004f7bfc\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x1004f7c00\nLDR             X20, [X19,#0x238]                                      ; +0x14, 0x1004f7c04\nCBZ             X20, loc_1004F7C3C                                     ; +0x18, 0x1004f7c08\nLDR             W2, [X19,#0x250]                                       ; +0x1c, 0x1004f7c0c\nCBNZ            W2, loc_1004F7C1C                                      ; +0x20, 0x1004f7c10\nMOV             W2, #0x69 ; 'i'                                        ; +0x24, 0x1004f7c14\nSTR             W2, [X19,#0x250]                                       ; +0x28, 0x1004f7c18\nLDR             X8, [X20]                                              ; +0x2c, 0x1004f7c1c\nLDR             X8, [X8,#0x1D0]                                        ; +0x30, 0x1004f7c20\nMOV             X0, X20                                                ; +0x34, 0x1004f7c24\nMOV             X1, X19                                                ; +0x38, 0x1004f7c28\nBLR             X8                                                     ; +0x3c, 0x1004f7c2c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x1004f7c30\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x1004f7c34\nB               sub_1004F7C70                                          ; +0x48, 0x1004f7c38\nLDR             X20, [X0,#0x110]                                       ; +0x4c, 0x1004f7c3c\nMOV             X0, X20                                                ; +0x50, 0x1004f7c40\nBL              cocos2d__CCScene__getHighestChildZ                     ; +0x54, 0x1004f7c44\nCMP             W0, #0x69 ; 'i'                                        ; +0x58, 0x1004f7c48\nB.LT            loc_1004F7C60                                          ; +0x5c, 0x1004f7c4c\nMOV             X0, X20                                                ; +0x60, 0x1004f7c50\nBL              cocos2d__CCScene__getHighestChildZ                     ; +0x64, 0x1004f7c54\nADD             W2, W0, #1                                             ; +0x68, 0x1004f7c58\nB               loc_1004F7C64                                          ; +0x6c, 0x1004f7c5c\nMOV             W2, #0x69 ; 'i'                                        ; +0x70, 0x1004f7c60\nSTR             W2, [X19,#0x250]                                       ; +0x74, 0x1004f7c64\nCBNZ            W2, loc_1004F7C1C                                      ; +0x78, 0x1004f7c68\nB               loc_1004F7C14                                          ; +0x7c, 0x1004f7c6c", "xrefs": ["<???> @ 0x100994f98"], "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"}