// // GameManager::updateCustomFPS from 0x1003bba30 to 0x1003bbab4 (132 bytes) // // 2 xrefs: // > MoreVideoOptionsLayer::onToggle @ 0x1001162d4 // > LoadingLayer::loadAssets @ 0x10026efe0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:03:59 +0000 // __int64 __fastcall GameManager::updateCustomFPS(__int64 a1) { __int64 v2; // x0 __int64 result; // x0 float v4; // s8 __int64 v5; // x0 __n128 v6; // q0 v2 = GameManager::sharedState(); result = GameManager::getGameVariable(v2, "0116"); if ( (_DWORD)result ) { v4 = *(float *)(a1 + 1104); v5 = cocos2d::CCDirector::sharedDirector(); if ( v4 <= 60.0 ) v6.n128_u64[0] = 0x3F91111120000000LL; else v6.n128_f64[0] = (float)(1.0 / *(float *)(a1 + 1104)); return (*(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v5 + 96LL))(v5, v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source