//
// BoomScrollLayer::togglePageIndicators from 0x3c154c to 0x3c1582 (54 bytes)
//
// 4 xrefs:
// > EditButtonBar::loadFromItems @ 0x4de520
// > GJGarageLayer::setupSpecialPage @ 0x50ee80
// > GJGarageLayer::setupSpecialPage @ 0x50ef3e
// > GJGarageLayer::setupPage @ 0x50f2ce
//
// 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:46:31 +0000
//
unsigned int __fastcall BoomScrollLayer::togglePageIndicators(unsigned int this, int a2)
{
unsigned int v2; // r5
unsigned int i; // r4
int v5; // r0
v2 = this;
if ( *(_DWORD *)(this + 320) )
{
for ( i = 0; ; ++i )
{
this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 320));
if ( i >= this )
break;
v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 320), i);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 172))(v5, a2);
}
}
return this;
}