{"type": "func", "start": 7544748, "end": 7544798, "name": "AccountReviewPopup::onToggleHistory", "pseudocode": "// \n// AccountReviewPopup::onToggleHistory from 0x731fac to 0x731fde (50 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:58:20 +0000\n// \n\nint __fastcall AccountReviewPopup::onToggleHistory(AccountReviewPopup *this, cocos2d::CCObject *a2)\n{\n  _BOOL4 v3; // r3\n  int v4; // r0\n  char *v5; // r1\n\n  v3 = *((_DWORD *)this + 220) == 0;\n  *((_DWORD *)this + 220) = v3;\n  v4 = *((_DWORD *)this + 245);\n  if ( v3 )\n    v5 = \"All\";\n  else\n    v5 = \"Un-reviewed\";\n  ButtonSprite::setString(v4, v5);\n  return PagedListPopup::loadPage((int)this, 0);\n}", "assembly": "; \n; AccountReviewPopup::onToggleHistory from 0x731fac to 0x731fde (50 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:58:20 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x731fac\nMOV             R4, R0                                                 ; +0x2, 0x731fae\nLDR.W           R3, [R0,#0x370]                                        ; +0x4, 0x731fb0\nCLZ.W           R3, R3                                                 ; +0x8, 0x731fb4\nLSRS            R3, R3, #5                                             ; +0xc, 0x731fb8\nSTR.W           R3, [R0,#0x370]                                        ; +0xe, 0x731fba\nLDR.W           R0, [R0,#0x3D4]; this                                  ; +0x12, 0x731fbe\nCBZ             R3, loc_731FCA                                         ; +0x16, 0x731fc2\nLDR             R1, =(aAll - 0x731FCA); \"All\"                          ; +0x18, 0x731fc4\nADD             R1, PC; \"All\"                                          ; +0x1a, 0x731fc6\nB               loc_731FCE                                             ; +0x1c, 0x731fc8\nLDR             R1, =(aUnReviewed - 0x731FD0); \"Un-reviewed\"           ; +0x1e, 0x731fca\nADD             R1, PC; \"Un-reviewed\"                                  ; +0x20, 0x731fcc\nBL              _ZN12ButtonSprite9setStringEPKc; ButtonSprite::setString(char const*) ; +0x22, 0x731fce\nMOV             R0, R4; this                                           ; +0x26, 0x731fd2\nMOVS            R1, #0; int                                            ; +0x28, 0x731fd4\nPOP.W           {R4,LR}                                                ; +0x2a, 0x731fd6\nB.W             _ZN14PagedListPopup8loadPageEi; PagedListPopup::loadPage(int) ; +0x2e, 0x731fda", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}