{"type": "func", "start": 5369443408, "end": 5369443486, "name": "AccountReviewPopup::onToggleHistory", "pseudocode": "// \n// AccountReviewPopup::onToggleHistory from 0x1400b3450 to 0x1400b349e (78 bytes)\n// \n// 2 xrefs:\n// > AccountReviewPopup::init @ 0x1400b002e\n// > <???> @ 0x1409135b0\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:13 +0000\n// \n\n__int64 __fastcall AccountReviewPopup::onToggleHistory(__int64 a1)\n{\n  int v1; // r8d\n  char *v2; // rdx\n  __int64 *v4; // rcx\n\n  v1 = *(_DWORD *)(a1 + 1332);\n  v2 = \"All\";\n  *(_DWORD *)(a1 + 1332) = v1 == 0;\n  v4 = *(__int64 **)(a1 + 1496);\n  if ( v1 )\n    v2 = \"Un-reviewed\";\n  ButtonSprite::setString(v4, v2);\n  return PagedListPopup::loadPage(a1, 0);\n}", "assembly": "; \n; AccountReviewPopup::onToggleHistory from 0x1400b3450 to 0x1400b349e (78 bytes)\n; \n; 2 xrefs:\n; > AccountReviewPopup::init @ 0x1400b002e\n; > <???> @ 0x1409135b0\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:13 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400b3450\nsub     rsp, 20h                                                       ; +0x2, 0x1400b3452\nmov     r8d, [rcx+534h]                                                ; +0x6, 0x1400b3456\nlea     rdx, aAll; \"All\"                                               ; +0xd, 0x1400b345d\nxor     eax, eax                                                       ; +0x14, 0x1400b3464\nmov     rbx, rcx                                                       ; +0x16, 0x1400b3466\ntest    r8d, r8d                                                       ; +0x19, 0x1400b3469\nsetz    al                                                             ; +0x1c, 0x1400b346c\ntest    r8d, r8d                                                       ; +0x1f, 0x1400b346f\nmov     [rcx+534h], eax                                                ; +0x22, 0x1400b3472\nlea     rax, aUnReviewed; \"Un-reviewed\"                                ; +0x28, 0x1400b3478\nmov     rcx, [rcx+5D8h]                                                ; +0x2f, 0x1400b347f\ncmovnz  rdx, rax                                                       ; +0x36, 0x1400b3486\ncall    ButtonSprite__setString                                        ; +0x3a, 0x1400b348a\nxor     edx, edx                                                       ; +0x3f, 0x1400b348f\nmov     rcx, rbx                                                       ; +0x41, 0x1400b3491\nadd     rsp, 20h                                                       ; +0x44, 0x1400b3494\npop     rbx                                                            ; +0x48, 0x1400b3498\njmp     PagedListPopup__loadPage                                       ; +0x49, 0x1400b3499", "xrefs": ["AccountReviewPopup::init @ 0x1400b002e", "<???> @ 0x1409135b0"], "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"}