{"type": "func", "start": 5369477856, "end": 5369477979, "name": "AccountReviewPopup::threadDeleteAnswered", "pseudocode": "// \n// AccountReviewPopup::threadDeleteAnswered from 0x1400bbae0 to 0x1400bbb5b (123 bytes)\n// \n// 3 xrefs:\n// > AccountReviewPopup::threadUpdateFinished @ 0x1400bbb6d\n// > AccountReviewPopup::threadUpdateFailed @ 0x1400bbb95\n// > <???> @ 0x14091382c\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:17 +0000\n// \n\n// Hidden C++ exception states: #wind=2\n__int64 __fastcall AccountReviewPopup::threadDeleteAnswered(__int64 a1)\n{\n  __int64 result; // rax\n  bool v2; // zf\n  __int64 v3; // rbx\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  result = *(unsigned int *)(a1 + 1348);\n  v2 = (_DWORD)result == 0;\n  if ( (int)result > 0 )\n  {\n    result = (unsigned int)(result - 1);\n    *(_DWORD *)(a1 + 1348) = result;\n    v2 = (_DWORD)result == 0;\n  }\n  if ( v2 )\n  {\n    v3 = a1 + 832;\n    result = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v4 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v4);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      result = *(_QWORD *)&qword_14090BFB0;\n    }\n    if ( *(_QWORD *)(result + 1392) == v3 )\n      *(_QWORD *)(result + 1392) = 0;\n  }\n  return result;\n}", "assembly": "; \n; AccountReviewPopup::threadDeleteAnswered from 0x1400bbae0 to 0x1400bbb5b (123 bytes)\n; \n; 3 xrefs:\n; > AccountReviewPopup::threadUpdateFinished @ 0x1400bbb6d\n; > AccountReviewPopup::threadUpdateFailed @ 0x1400bbb95\n; > <???> @ 0x14091382c\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:17 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400bbae0\nsub     rsp, 20h                                                       ; +0x2, 0x1400bbae2\nmov     eax, [rcx+544h]                                                ; +0x6, 0x1400bbae6\ntest    eax, eax                                                       ; +0xc, 0x1400bbaec\njle     short loc_1400BBAFA                                            ; +0xe, 0x1400bbaee\ndec     eax                                                            ; +0x10, 0x1400bbaf0\nmov     [rcx+544h], eax                                                ; +0x12, 0x1400bbaf2\ntest    eax, eax                                                       ; +0x18, 0x1400bbaf8\njnz     short loc_1400BBB55                                            ; +0x1a, 0x1400bbafa\nlea     rbx, [rcx+340h]                                                ; +0x1c, 0x1400bbafc\nmov     rax, cs:qword_14090BFB0                                        ; +0x23, 0x1400bbb03\ntest    rax, rax                                                       ; +0x2a, 0x1400bbb0a\njnz     short loc_1400BBB41                                            ; +0x2d, 0x1400bbb0d\nmov     ecx, 690h; Size                                                ; +0x2f, 0x1400bbb0f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x34, 0x1400bbb14\nmov     [rsp+28h+arg_0], rax                                           ; +0x39, 0x1400bbb19\nmov     rcx, rax                                                       ; +0x3e, 0x1400bbb1e\ncall    GameLevelManager__GameLevelManager                             ; +0x41, 0x1400bbb21\nnop                                                                    ; +0x46, 0x1400bbb26\nmov     cs:qword_14090BFB0, rax                                        ; +0x47, 0x1400bbb27\nmov     rcx, [rax]                                                     ; +0x4e, 0x1400bbb2e\nmov     rdx, [rcx+48h]                                                 ; +0x51, 0x1400bbb31\nmov     rcx, rax                                                       ; +0x55, 0x1400bbb35\ncall    rdx                                                            ; +0x58, 0x1400bbb38\nmov     rax, cs:qword_14090BFB0                                        ; +0x5a, 0x1400bbb3a\ncmp     [rax+570h], rbx                                                ; +0x61, 0x1400bbb41\njnz     short loc_1400BBB55                                            ; +0x68, 0x1400bbb48\nmov     qword ptr [rax+570h], 0                                        ; +0x6a, 0x1400bbb4a\nadd     rsp, 20h                                                       ; +0x75, 0x1400bbb55\npop     rbx                                                            ; +0x79, 0x1400bbb59\nretn                                                                   ; +0x7a, 0x1400bbb5a", "xrefs": ["AccountReviewPopup::threadUpdateFinished @ 0x1400bbb6d", "AccountReviewPopup::threadUpdateFailed @ 0x1400bbb95", "<???> @ 0x14091382c"], "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"}