{"type": "func", "start": 5369469680, "end": 5369469806, "name": "AccountReviewPopup::onCommentHistory", "pseudocode": "// \n// AccountReviewPopup::onCommentHistory from 0x1400b9af0 to 0x1400b9b6e (126 bytes)\n// \n// 4 xrefs:\n// > AccountReviewPopup::init @ 0x1400afdda\n// > <???> @ 0x14088f6e8\n// > <???> @ 0x14088f6f8\n// > <???> @ 0x1409137b4\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:16 +0000\n// \n\nvoid __fastcall AccountReviewPopup::onCommentHistory(__int64 a1)\n{\n  __int64 v1; // rdx\n  _DWORD *v2; // rbx\n  __int64 v3; // rcx\n  cocos2d::CCScene *v4; // rdi\n  int v5; // eax\n\n  v1 = *(_QWORD *)(a1 + 880);\n  if ( *(int *)(v1 + 388) > 0 )\n  {\n    v2 = (_DWORD *)InfoLayer::create(0, v1, 0, 0);\n    v4 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v3) + 272);\n    if ( cocos2d::CCScene::getHighestChildZ(v4) + 1 >= 110 )\n      v5 = cocos2d::CCScene::getHighestChildZ(v4) + 1;\n    else\n      v5 = 110;\n    v2[148] = v5;\n    (*(void (__fastcall **)(_DWORD *))(*(_QWORD *)v2 + 1064LL))(v2);\n  }\n}", "assembly": "; \n; AccountReviewPopup::onCommentHistory from 0x1400b9af0 to 0x1400b9b6e (126 bytes)\n; \n; 4 xrefs:\n; > AccountReviewPopup::init @ 0x1400afdda\n; > <???> @ 0x14088f6e8\n; > <???> @ 0x14088f6f8\n; > <???> @ 0x1409137b4\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:16 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1400b9af0\nmov     rdx, [rcx+370h]                                                ; +0x4, 0x1400b9af4\ncmp     dword ptr [rdx+184h], 0                                        ; +0xb, 0x1400b9afb\njle     short loc_1400B9B69                                            ; +0x12, 0x1400b9b02\nmov     [rsp+28h+arg_0], rbx                                           ; +0x14, 0x1400b9b04\nxor     r9d, r9d                                                       ; +0x19, 0x1400b9b09\nxor     r8d, r8d                                                       ; +0x1c, 0x1400b9b0c\nmov     [rsp+28h+var_8], rdi                                           ; +0x1f, 0x1400b9b0f\nxor     ecx, ecx                                                       ; +0x24, 0x1400b9b14\ncall    InfoLayer__create                                              ; +0x26, 0x1400b9b16\nmov     rbx, rax                                                       ; +0x2b, 0x1400b9b1b\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2e, 0x1400b9b1e\nmov     rdi, [rax+110h]                                                ; +0x34, 0x1400b9b24\nmov     rcx, rdi                                                       ; +0x3b, 0x1400b9b2b\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x3e, 0x1400b9b2e\ninc     eax                                                            ; +0x44, 0x1400b9b34\ncmp     eax, 6Eh ; 'n'                                                 ; +0x46, 0x1400b9b36\njge     short loc_1400B9B42                                            ; +0x49, 0x1400b9b39\nmov     eax, 6Eh ; 'n'                                                 ; +0x4b, 0x1400b9b3b\njmp     short loc_1400B9B4D                                            ; +0x50, 0x1400b9b40\nmov     rcx, rdi                                                       ; +0x52, 0x1400b9b42\ncall    cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x55, 0x1400b9b45\ninc     eax                                                            ; +0x5b, 0x1400b9b4b\nmov     [rbx+250h], eax                                                ; +0x5d, 0x1400b9b4d\nmov     rcx, rbx                                                       ; +0x63, 0x1400b9b53\nmov     rax, [rbx]                                                     ; +0x66, 0x1400b9b56\ncall    qword ptr [rax+428h]                                           ; +0x69, 0x1400b9b59\nmov     rdi, [rsp+28h+var_8]                                           ; +0x6f, 0x1400b9b5f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x74, 0x1400b9b64\nadd     rsp, 28h                                                       ; +0x79, 0x1400b9b69\nretn                                                                   ; +0x7d, 0x1400b9b6d", "xrefs": ["AccountReviewPopup::init @ 0x1400afdda", "<???> @ 0x14088f6e8", "<???> @ 0x14088f6f8", "<???> @ 0x1409137b4"], "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"}