//
// GameManager::updateCustomFPS from 0x416b54 to 0x416bac (88 bytes)
//
// 3 xrefs:
// > LoadingLayer::loadAssets @ 0x3fbfa4
// > MoreVideoOptionsLayer::onToggle @ 0x531d36
// > MoreVideoOptionsLayer::onApplyFPS @ 0x533c34
//
// 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:47:41 +0000
//
cocos2d::CCDirector *__fastcall GameManager::updateCustomFPS(GameManager *this)
{
GameManager *v1; // r0
cocos2d::CCDirector *result; // r0
int (*v3)(void); // r1
v1 = (GameManager *)GameManager::sharedState(this);
result = (cocos2d::CCDirector *)GameManager::getGameVariable(v1, "0116");
if ( result )
{
v3 = *(int (**)(void))(*(_DWORD *)cocos2d::CCDirector::sharedDirector(result) + 48);
return (cocos2d::CCDirector *)v3();
}
return result;
}