//
// SetupAudioTriggerPopup::onProxMode from 0x140446550 to 0x14044661b (203 bytes)
//
// 4 xrefs:
// > SetupAudioTriggerPopup::addProxVolControls @ 0x1404462da
// > ??> @ 0x1406a253c
// > ??> @ 0x1406a254c
// > ??> @ 0x1406da5bc
//
// 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)
{
int v3; // r14d
unsigned int i; // esi
struct cocos2d::CCObject *v5; // rbx
ButtonSprite *v6; // rdi
int v7; // eax
const char *v8; // rdx
v3 = a2->getTag(a2);
SetupTriggerPopup::updateValue(a1, 458, (float)v3);
for ( i = 0; i < cocos2d::CCArray::count(a1->m_proximityButtons); ++i )
{
v5 = cocos2d::CCArray::objectAtIndex(a1->m_proximityButtons, i);
v6 = (ButtonSprite *)((__int64 (__fastcall *)(struct cocos2d::CCObject *))v5->__vftable[13].copyWithZone)(v5);
v7 = v5->getTag(v5);
v8 = "GJ_button_04.png";
if ( v7 == v3 )
v8 = "GJ_button_02.png";
ButtonSprite::updateBGImage(v6, v8);
}
}