//
// MoreVideoOptionsLayer::updateFPSButtons from 0x1007a2ef0 to 0x1007a2f82 (146 bytes)
//
// 1 xrefs:
// > MoreVideoOptionsLayer::onToggle @ 0x1007a2853
//
// 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 *v1; // rax
bool GameVariable; // r14
unsigned int v3; // r15d
__int64 v4; // rax
v1 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v1, "0116");
if ( (unsigned int)sub_100720070((__int64)a1->m_fpsNodes) )
{
v3 = 0;
do
{
v4 = sub_1007200C0((__int64)a1->m_fpsNodes, v3);
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v4 + 328LL))(v4, GameVariable);
++v3;
}
while ( v3 < (unsigned int)sub_100720070((__int64)a1->m_fpsNodes) );
}
((void (__fastcall *)(CCTextInputNode *, bool))a1->m_fpsInput->setTouchEnabled)(a1->m_fpsInput, GameVariable);
}