{"type": "func", "start": 4305077648, "end": 4305077793, "name": "AccountReviewPopup::onClosePopup", "pseudocode": "// \n// AccountReviewPopup::onClosePopup from 0x1009a4590 to 0x1009a4621 (145 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bd6c38\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::onClosePopup(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rax\n\n  if ( *(_BYTE *)(a1 + 1304) != 1 || *(_QWORD *)(a1 + 1296) != a2 )\n  {\n    UploadActionPopup::closePopup(a2);\n    if ( *(_QWORD *)(a1 + 1296) != a2 )\n    {\n      if ( *(_BYTE *)(a1 + 1233) != 1 )\n        return;\n      goto LABEL_5;\n    }\n    *(_QWORD *)(a1 + 1296) = 0;\n    if ( *(_BYTE *)(a1 + 1233) == 1 )\n    {\nLABEL_5:\n      *(_BYTE *)(a1 + 1233) = 0;\n      *(_QWORD *)(GameLevelManager::sharedState() + 1256) = a1 + 776;\n      v2 = GameLevelManager::sharedState();\n      sub_100570C90(v2, *(_DWORD *)(a1 + 840));\n      sub_10095CDD0(a1, *(_DWORD *)(a1 + 676));\n    }\n  }\n}", "assembly": "; \n; AccountReviewPopup::onClosePopup from 0x1009a4590 to 0x1009a4621 (145 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bd6c38\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; \npush    rbp                                                            ; +0x0, 0x1009a4590\nmov     rbp, rsp                                                       ; +0x1, 0x1009a4591\npush    r14                                                            ; +0x4, 0x1009a4594\npush    rbx                                                            ; +0x6, 0x1009a4596\nmov     r14, rsi                                                       ; +0x7, 0x1009a4597\nmov     rbx, rdi                                                       ; +0xa, 0x1009a459a\ncmp     byte ptr [rdi+518h], 1                                         ; +0xd, 0x1009a459d\njnz     short loc_1009A45AF                                            ; +0x14, 0x1009a45a4\ncmp     [rbx+510h], r14                                                ; +0x16, 0x1009a45a6\njz      short loc_1009A461C                                            ; +0x1d, 0x1009a45ad\nmov     rdi, r14                                                       ; +0x1f, 0x1009a45af\ncall    UploadActionPopup__closePopup                                  ; +0x22, 0x1009a45b2\ncmp     [rbx+510h], r14                                                ; +0x27, 0x1009a45b7\njz      short loc_1009A4608                                            ; +0x2e, 0x1009a45be\ncmp     byte ptr [rbx+4D1h], 1                                         ; +0x30, 0x1009a45c0\njnz     short loc_1009A461C                                            ; +0x37, 0x1009a45c7\nmov     byte ptr [rbx+4D1h], 0                                         ; +0x39, 0x1009a45c9\ncall    GameLevelManager__sharedState                                  ; +0x40, 0x1009a45d0\nlea     rcx, [rbx+308h]                                                ; +0x45, 0x1009a45d5\nmov     [rax+4E8h], rcx                                                ; +0x4c, 0x1009a45dc\ncall    GameLevelManager__sharedState                                  ; +0x53, 0x1009a45e3\nmov     esi, [rbx+348h]                                                ; +0x58, 0x1009a45e8\nmov     rdi, rax                                                       ; +0x5e, 0x1009a45ee\ncall    sub_100570C90                                                  ; +0x61, 0x1009a45f1\nmov     esi, [rbx+2A4h]                                                ; +0x66, 0x1009a45f6\nmov     rdi, rbx                                                       ; +0x6c, 0x1009a45fc\npop     rbx                                                            ; +0x6f, 0x1009a45ff\npop     r14                                                            ; +0x70, 0x1009a4600\npop     rbp                                                            ; +0x72, 0x1009a4602\njmp     sub_10095CDD0                                                  ; +0x73, 0x1009a4603\nmov     qword ptr [rbx+510h], 0                                        ; +0x78, 0x1009a4608\ncmp     byte ptr [rbx+4D1h], 1                                         ; +0x83, 0x1009a4613\njz      short loc_1009A45C9                                            ; +0x8a, 0x1009a461a\npop     rbx                                                            ; +0x8c, 0x1009a461c\npop     r14                                                            ; +0x8d, 0x1009a461d\npop     rbp                                                            ; +0x8f, 0x1009a461f\nretn                                                                   ; +0x90, 0x1009a4620", "xrefs": ["<???> @ 0x100bd6c38"], "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"}