{"type": "func", "start": 4305075664, "end": 4305075766, "name": "AccountReviewPopup::threadUpdateFailed", "pseudocode": "// \n// AccountReviewPopup::threadUpdateFailed from 0x1009a3dd0 to 0x1009a3e36 (102 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bd6c50\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 12:39:18 +0000\n// \n\nvoid __fastcall AccountReviewPopup::threadUpdateFailed(_DWORD *a1, __int64 a2, int a3)\n{\n  int v3; // eax\n\n  if ( a3 == 103 )\n  {\n    v3 = a1[315];\n    if ( v3 > 0 )\n      a1[315] = --v3;\n    if ( !v3 && *(_DWORD **)(GameLevelManager::sharedState() + 1264) == a1 + 208 )\n      *(_QWORD *)(GameLevelManager::sharedState() + 1264) = 0;\n    (*(void (__fastcall **)(_DWORD *, _QWORD, _QWORD))(*(_QWORD *)a1 + 1408LL))(a1, 0, 0);\n  }\n}", "assembly": "; \n; AccountReviewPopup::threadUpdateFailed from 0x1009a3dd0 to 0x1009a3e36 (102 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bd6c50\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 12:39:18 +0000\n; \ncmp     edx, 67h ; 'g'                                                 ; +0x0, 0x1009a3dd0\njnz     short locret_1009A3E35                                         ; +0x3, 0x1009a3dd3\nmov     eax, [rdi+4ECh]                                                ; +0x5, 0x1009a3dd5\ntest    eax, eax                                                       ; +0xb, 0x1009a3ddb\njle     short loc_1009A3DE7                                            ; +0xd, 0x1009a3ddd\ndec     eax                                                            ; +0xf, 0x1009a3ddf\nmov     [rdi+4ECh], eax                                                ; +0x11, 0x1009a3de1\npush    rbp                                                            ; +0x17, 0x1009a3de7\nmov     rbp, rsp                                                       ; +0x18, 0x1009a3de8\npush    rbx                                                            ; +0x1b, 0x1009a3deb\npush    rax                                                            ; +0x1c, 0x1009a3dec\ntest    eax, eax                                                       ; +0x1d, 0x1009a3ded\njnz     short loc_1009A3E1F                                            ; +0x1f, 0x1009a3def\nmov     rbx, rdi                                                       ; +0x21, 0x1009a3df1\ncall    GameLevelManager__sharedState                                  ; +0x24, 0x1009a3df4\nmov     rdi, rbx                                                       ; +0x29, 0x1009a3df9\nlea     rcx, [rbx+340h]                                                ; +0x2c, 0x1009a3dfc\ncmp     [rax+4F0h], rcx                                                ; +0x33, 0x1009a3e03\njnz     short loc_1009A3E1F                                            ; +0x3a, 0x1009a3e0a\ncall    GameLevelManager__sharedState                                  ; +0x3c, 0x1009a3e0c\nmov     rdi, rbx                                                       ; +0x41, 0x1009a3e11\nmov     qword ptr [rax+4F0h], 0                                        ; +0x44, 0x1009a3e14\nmov     rax, [rdi]                                                     ; +0x4f, 0x1009a3e1f\nmov     rax, [rax+580h]                                                ; +0x52, 0x1009a3e22\nxor     esi, esi                                                       ; +0x59, 0x1009a3e29\nxor     edx, edx                                                       ; +0x5b, 0x1009a3e2b\nadd     rsp, 8                                                         ; +0x5d, 0x1009a3e2d\npop     rbx                                                            ; +0x61, 0x1009a3e31\npop     rbp                                                            ; +0x62, 0x1009a3e32\njmp     rax                                                            ; +0x63, 0x1009a3e33\nretn                                                                   ; +0x65, 0x1009a3e35", "xrefs": ["<???> @ 0x100bd6c50"], "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"}