//
// SetupObjectOptionsPopup::onNoAudioScale from 0x508cc8 to 0x508d08 (64 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 SetupObjectOptionsPopup::onNoAudioScale(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2)
{
GameObject *m_gameObject; // r4
bool v4; // r3
int v5; // r0
m_gameObject = a1->m_gameObject;
v4 = !a1->m_noAudioScale;
a1->m_noAudioScale = v4;
if ( m_gameObject )
{
m_gameObject->m_hasNoAudioScale = v4;
}
else
{
while ( (unsigned int)m_gameObject < cocos2d::CCArray::count(a1->m_gameObjects) )
{
v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)m_gameObject);
m_gameObject = (GameObject *)((char *)m_gameObject + 1);
*(_BYTE *)(v5 + 825) = a1->m_noAudioScale;
}
}
}