//
// BoomScrollLayer::togglePageIndicators from 0x68969c to 0x689704 (104 bytes)
//
// 5 xrefs:
// > EditButtonBar::loadFromItems @ 0x861c20
// > GJGarageLayer::setupSpecialPage @ 0x8c0090
// > GJGarageLayer::setupSpecialPage @ 0x8c018c
// > GJGarageLayer::setupPage @ 0x8c0694
// > ??> @ 0xd7a28
//
// 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 12:50:32 +0000
//
cocos2d::CCArray *__fastcall BoomScrollLayer::togglePageIndicators(BoomScrollLayer *this, unsigned __int8 a2)
{
unsigned int v3; // w21
cocos2d::CCArray *result; // x0
unsigned int v5; // w19
__int64 v6; // x0
bool v7; // cf
unsigned int v8; // w1
v3 = a2;
result = *((cocos2d::CCArray **)this + 52);
if ( result )
{
v5 = 0;
while ( 1 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
v7 = v5 >= (unsigned int)result;
v8 = v5++;
if ( v7 )
break;
v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 52), v8);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 344LL))(v6, v3);
result = *((cocos2d::CCArray **)this + 52);
}
}
return result;
}