//
// MoreVideoOptionsLayer::updateFPSButtons from 0x1000f27c4 to 0x1000f284c (136 bytes)
//
// 1 xrefs:
// > MoreVideoOptionsLayer::onToggle @ 0x1000f243c
//
// 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 __fastcall MoreVideoOptionsLayer::updateFPSButtons(MoreVideoOptionsLayer *a1)
{
GameManager *v2; // x0
_BOOL8 GameVariable; // x20
__int64 v4; // x21
__int64 v5; // x0
v2 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v2, "0116");
if ( (unsigned int)sub_10024A36C(a1->m_fpsNodes) )
{
v4 = 0;
do
{
v5 = sub_10024A388(a1->m_fpsNodes, v4);
(*(void (__fastcall **)(__int64, _BOOL8))(*(_QWORD *)v5 + 328LL))(v5, GameVariable);
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_fpsNodes) );
}
((void (__fastcall *)(CCTextInputNode *, _BOOL8))a1->m_fpsInput->setTouchEnabled)(a1->m_fpsInput, GameVariable);
}