//
// AccountReviewPopup::selectTab from 0xc40450 to 0xc404c8 (120 bytes)
//
// 3 xrefs:
// > AccountReviewPopup::onTab @ 0xc40504
// > AccountReviewPopup::init @ 0xc456a4
// > ??> @ 0xefa58
//
// 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:57 +0000
//
PagedListPopup *__fastcall AccountReviewPopup::selectTab(AccountReviewPopup *this, int a2)
{
__int64 v4; // x19
ButtonSprite **v5; // x0
const char *v6; // x1
v4 = 0;
*((_DWORD *)this + 309) = a2;
do
{
v5 = (ButtonSprite **)((char *)this + 8 * v4);
if ( a2 == (_DWORD)v4 )
v6 = "GJ_button_01.png";
else
v6 = "GJ_button_04.png";
++v4;
ButtonSprite::updateBGImage(v5[173], v6);
}
while ( v4 != 3 );
AccountReviewPopup::updateTabControls(this);
return PagedListPopup::loadPage(this, 0);
}