//
// SetupObjectOptionsPopup::onAlwaysHide from 0x140400140 to 0x1404001ca (138 bytes)
//
// 2 xrefs:
// > SetupObjectOptionsPopup::init @ 0x1403fee3b
// > ??> @ 0x1406d872c
//
// 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::onAlwaysHide(SetupObjectOptionsPopup *a1, cocos2d::CCObject *a2)
{
bool v3; // cl
GameObject *m_gameObject; // rax
unsigned int i; // edi
struct cocos2d::CCObject *v6; // rax
v3 = !a1->m_hide;
a1->m_hide = v3;
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
m_gameObject->m_isHide = v3;
}
else
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); BYTE2(v6[23].m_nLuaID) = a1->m_hide )
v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i++);
}
}