{"type": "func", "start": 12842272, "end": 12842384, "name": "AccountReviewPopup::onToggleHistory", "pseudocode": "// \n// AccountReviewPopup::onToggleHistory from 0xc3f520 to 0xc3f590 (112 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x965c8\n// > AccountReviewPopup::init @ 0xc45080\n// > <???> @ 0x1544150\n// \n// This function is hookable on this platform (idp: arm, 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 13:04:56 +0000\n// \n\nPagedListPopup *__fastcall AccountReviewPopup::onToggleHistory(AccountReviewPopup *this, cocos2d::CCObject *a2)\n{\n  ButtonSprite *v3; // x0\n  ButtonSprite *v4; // x0\n\n  if ( *((_DWORD *)this + 311) )\n  {\n    v4 = *((ButtonSprite **)this + 177);\n    *((_DWORD *)this + 311) = 0;\n    ButtonSprite::setString(v4, \"Un-reviewed\");\n  }\n  else\n  {\n    v3 = *((ButtonSprite **)this + 177);\n    *((_DWORD *)this + 311) = 1;\n    ButtonSprite::setString(v3, \"All\");\n  }\n  return PagedListPopup::loadPage(this, 0);\n}", "assembly": "; \n; AccountReviewPopup::onToggleHistory from 0xc3f520 to 0xc3f590 (112 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x965c8\n; > AccountReviewPopup::init @ 0xc45080\n; > <???> @ 0x1544150\n; \n; This function is hookable on this platform (idp: arm, 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 13:04:56 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xc3f520\nMOV             X29, SP                                                ; +0x4, 0xc3f524\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xc3f528\nMOV             X19, X0                                                ; +0xc, 0xc3f52c\nLDR             W0, [X0,#0x4DC]                                        ; +0x10, 0xc3f530\nCBNZ            W0, loc_C3F564                                         ; +0x14, 0xc3f534\nLDR             X0, [X19,#0x588]; this                                 ; +0x18, 0xc3f538\nADRP            X1, #(aDisableAll+8)@PAGE; \"All\"                       ; +0x1c, 0xc3f53c\nMOV             W2, #1                                                 ; +0x20, 0xc3f540\nADD             X1, X1, #(aDisableAll+8)@PAGEOFF; char *               ; +0x24, 0xc3f544\nSTR             W2, [X19,#0x4DC]                                       ; +0x28, 0xc3f548\nBL              _ZN12ButtonSprite9setStringEPKc; ButtonSprite::setString(char const*) ; +0x2c, 0xc3f54c\nMOV             X0, X19; this                                          ; +0x30, 0xc3f550\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x34, 0xc3f554\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x38, 0xc3f558\nMOV             W1, #0; int                                            ; +0x3c, 0xc3f55c\nB               _ZN14PagedListPopup8loadPageEi; PagedListPopup::loadPage(int) ; +0x40, 0xc3f560\nLDR             X0, [X19,#0x588]; this                                 ; +0x44, 0xc3f564\nADRP            X1, #aUnReviewed@PAGE; \"Un-reviewed\"                   ; +0x48, 0xc3f568\nMOV             W2, #0                                                 ; +0x4c, 0xc3f56c\nADD             X1, X1, #aUnReviewed@PAGEOFF; \"Un-reviewed\"            ; +0x50, 0xc3f570\nSTR             W2, [X19,#0x4DC]                                       ; +0x54, 0xc3f574\nBL              _ZN12ButtonSprite9setStringEPKc; ButtonSprite::setString(char const*) ; +0x58, 0xc3f578\nMOV             X0, X19; this                                          ; +0x5c, 0xc3f57c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x60, 0xc3f580\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x64, 0xc3f584\nMOV             W1, #0; int                                            ; +0x68, 0xc3f588\nB               _ZN14PagedListPopup8loadPageEi; PagedListPopup::loadPage(int) ; +0x6c, 0xc3f58c", "xrefs": ["<???> @ 0x965c8", "AccountReviewPopup::init @ 0xc45080", "<???> @ 0x1544150"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}