//
// SetGroupIDLayer::updateZLayerButtons from 0x63a930 to 0x63a97c (76 bytes)
//
// 3 xrefs:
// > SetGroupIDLayer::onZLayer @ 0x63a9de
// > SetGroupIDLayer::onPaste @ 0x63b156
// > SetGroupIDLayer::init @ 0x63e092
//
// 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:55:23 +0000
//
unsigned int __fastcall SetGroupIDLayer::updateZLayerButtons(cocos2d::CCArray **this)
{
unsigned int v2; // r4
unsigned int result; // r0
char *v4; // r0
int v5; // r7
char *v6; // r6
const char *v7; // r1
v2 = 0;
while ( 1 )
{
result = cocos2d::CCArray::count(*(this + 133));
if ( v2 >= result )
break;
v4 = (char *)cocos2d::CCArray::objectAtIndex(*(this + 133), v2);
v5 = (int)*(this + 150);
++v2;
v6 = v4;
if ( v5 == (*(int (__fastcall **)(char *))(*(_DWORD *)v4 + 32))(v4) )
v7 = "GJ_button_02.png";
else
v7 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v6, v7);
}
return result;
}