//
// AccountReviewPopup::onSelectAll from 0x73a9e2 to 0x73aa36 (84 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:58:29 +0000
//
const char **__fastcall AccountReviewPopup::onSelectAll(const char **this, cocos2d::CCObject *a2)
{
int v2; // r4
int v3; // r6
const char *i; // r3
int v6; // r7
int j; // r5
int v8; // r3
int v9; // r1
v2 = (int)this;
v3 = 0;
for ( i = *(this + 232); i != *(this + 233); i += 4 )
{
if ( *(_DWORD *)i )
++v3;
}
if ( v3 )
{
v6 = (int)*(this + 237);
for ( j = 0; ; ++j )
{
v8 = *(_DWORD *)(v2 + 932) - *(_DWORD *)(v2 + 928);
if ( j >= v8 >> 2 )
break;
v9 = j;
AccountReviewPopup::applySelected(v2, v9, v6 != v3, v8);
}
return AccountReviewPopup::updateSelectedLabel((const char **)v2);
}
return this;
}