//
// AccountReviewPopup::onToggleHistory from 0xc3f520 to 0xc3f590 (112 bytes)
//
// 3 xrefs:
// > ??> @ 0x965c8
// > AccountReviewPopup::init @ 0xc45080
// > ??> @ 0x1544150
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:04:56 +0000
//
PagedListPopup *__fastcall AccountReviewPopup::onToggleHistory(AccountReviewPopup *this, cocos2d::CCObject *a2)
{
ButtonSprite *v3; // x0
ButtonSprite *v4; // x0
if ( *((_DWORD *)this + 311) )
{
v4 = *((ButtonSprite **)this + 177);
*((_DWORD *)this + 311) = 0;
ButtonSprite::setString(v4, "Un-reviewed");
}
else
{
v3 = *((ButtonSprite **)this + 177);
*((_DWORD *)this + 311) = 1;
ButtonSprite::setString(v3, "All");
}
return PagedListPopup::loadPage(this, 0);
}