{"type": "func", "start": 5369598256, "end": 5369598397, "name": "MessageThreadsPage::show", "pseudocode": "// \n// MessageThreadsPage::show from 0x1400d9130 to 0x1400d91bd (141 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14072d320\n// > <???> @ 0x14091481c\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 11:26:27 +0000\n// \n\n__int64 __fastcall MessageThreadsPage::show(__int64 a1)\n{\n  cocos2d::CCScene *v2; // rbx\n  int v3; // eax\n\n  v2 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(a1) + 272);\n  if ( *(_QWORD *)(a1 + 568) )\n  {\n    v2 = *(cocos2d::CCScene **)(a1 + 568);\n  }\n  else\n  {\n    if ( cocos2d::CCScene::getHighestChildZ(v2) + 1 >= 105 )\n      v3 = cocos2d::CCScene::getHighestChildZ(v2) + 1;\n    else\n      v3 = 105;\n    *(_DWORD *)(a1 + 592) = v3;\n  }\n  if ( !*(_DWORD *)(a1 + 592) )\n    *(_DWORD *)(a1 + 592) = 105;\n  (*(void (__fastcall **)(cocos2d::CCScene *, __int64))(*(_QWORD *)v2 + 456LL))(v2, a1);\n  return ThreadOpenHelper::showRulesOnce();\n}", "assembly": "; \n; MessageThreadsPage::show from 0x1400d9130 to 0x1400d91bd (141 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14072d320\n; > <???> @ 0x14091481c\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 11:26:27 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400d9130\npush    rdi                                                            ; +0x5, 0x1400d9135\nsub     rsp, 20h                                                       ; +0x6, 0x1400d9136\nmov     rdi, rcx                                                       ; +0xa, 0x1400d913a\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x1400d913d\nmov     rbx, [rax+110h]                                                ; +0x13, 0x1400d9143\nmov     rax, [rdi+238h]                                                ; +0x1a, 0x1400d914a\ntest    rax, rax                                                       ; +0x21, 0x1400d9151\njz      short loc_1400D915B                                            ; +0x24, 0x1400d9154\nmov     rbx, rax                                                       ; +0x26, 0x1400d9156\njmp     short loc_1400D9183                                            ; +0x29, 0x1400d9159\nmov     rcx, rbx                                                       ; +0x2b, 0x1400d915b\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x2e, 0x1400d915e\ninc     eax                                                            ; +0x34, 0x1400d9164\ncmp     eax, 69h ; 'i'                                                 ; +0x36, 0x1400d9166\njge     short loc_1400D9172                                            ; +0x39, 0x1400d9169\nmov     eax, 69h ; 'i'                                                 ; +0x3b, 0x1400d916b\njmp     short loc_1400D917D                                            ; +0x40, 0x1400d9170\nmov     rcx, rbx                                                       ; +0x42, 0x1400d9172\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x45, 0x1400d9175\ninc     eax                                                            ; +0x4b, 0x1400d917b\nmov     [rdi+250h], eax                                                ; +0x4d, 0x1400d917d\nmov     r8d, [rdi+250h]                                                ; +0x53, 0x1400d9183\ntest    r8d, r8d                                                       ; +0x5a, 0x1400d918a\njnz     short loc_1400D919F                                            ; +0x5d, 0x1400d918d\nmov     dword ptr [rdi+250h], 69h ; 'i'                                ; +0x5f, 0x1400d918f\nmov     r8d, 69h ; 'i'                                                 ; +0x69, 0x1400d9199\nmov     rax, [rbx]                                                     ; +0x6f, 0x1400d919f\nmov     rdx, rdi                                                       ; +0x72, 0x1400d91a2\nmov     rcx, rbx                                                       ; +0x75, 0x1400d91a5\ncall    qword ptr [rax+1C8h]                                           ; +0x78, 0x1400d91a8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7e, 0x1400d91ae\nadd     rsp, 20h                                                       ; +0x83, 0x1400d91b3\npop     rdi                                                            ; +0x87, 0x1400d91b7\njmp     ThreadOpenHelper__showRulesOnce                                ; +0x88, 0x1400d91b8", "xrefs": ["<???> @ 0x14072d320", "<???> @ 0x14091481c"], "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"}