//
// MoreVideoOptionsLayer::updateFPSButtons from 0x7d05f0 to 0x7d067c (140 bytes)
//
// 2 xrefs:
// > MoreVideoOptionsLayer::onToggle @ 0x7d0ca4
// > ??> @ 0x78d98
//
// 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 MoreVideoOptionsLayer::updateFPSButtons(MoreVideoOptionsLayer *a1)
{
GameManager *v2; // x0
unsigned int v3; // w19
_BOOL4 i; // w21
__int64 v5; // x0
bool v6; // cf
unsigned int v7; // w1
v2 = GameManager::sharedState();
v3 = 0;
for ( i = GameManager::getGameVariable(v2, "0116");
;
(*(void (__fastcall **)(__int64, _BOOL4))(*(_QWORD *)v5 + 328LL))(v5, i) )
{
v6 = v3 >= (unsigned int)cocos2d::CCArray::count(a1->m_fpsNodes);
v7 = v3++;
if ( v6 )
break;
v5 = cocos2d::CCArray::objectAtIndex(a1->m_fpsNodes, v7);
}
a1->m_fpsInput->setTouchEnabled(a1->m_fpsInput, i);
}