//
// MoreVideoOptionsLayer::updateFPSButtons from 0x52d590 to 0x52d5da (74 bytes)
//
// 1 xrefs:
// > MoreVideoOptionsLayer::onToggle @ 0x531d3c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:52:01 +0000
//
int __fastcall MoreVideoOptionsLayer::updateFPSButtons(cocos2d::CCArray **this)
{
GameManager *v2; // r0
unsigned int v3; // r4
int GameVariable; // r6
int v5; // r0
v2 = (GameManager *)GameManager::sharedState((GameManager *)this);
v3 = 0;
GameVariable = GameManager::getGameVariable(v2, "0116");
while ( v3 < cocos2d::CCArray::count(*(this + 138)) )
{
v5 = cocos2d::CCArray::objectAtIndex(*(this + 138), v3++);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 172))(v5, GameVariable);
}
return (*(int (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 137) + 500))(*(this + 137), GameVariable);
}