//
// SetupAudioTriggerPopup::onProxMode from 0x574e34 to 0x574ea8 (116 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupAudioTriggerPopup::onProxMode(SetupAudioTriggerPopup *a1, cocos2d::CCObject *a2)
{
unsigned int v3; // r4
int v4; // r7
int v5; // r0
int v6; // r6
ButtonSprite *v7; // r8
const char *v8; // r1
v3 = 0;
v4 = a2->getTag(a2);
SetupTriggerPopup::updateValue(a1, 458, (float)v4);
while ( v3 < cocos2d::CCArray::count(a1->m_proximityButtons) )
{
v5 = cocos2d::CCArray::objectAtIndex(a1->m_proximityButtons, v3++);
v6 = v5;
v7 = (ButtonSprite *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 528))(v5);
if ( (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 32))(v6) == v4 )
v8 = "GJ_button_02.png";
else
v8 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v7, v8);
}
}