// // AutoSaveSettingsLayer::getValue from 0x1001681c0 to 0x1001682a8 (232 bytes) // // 1 xrefs: // > @ 0x1008e3cc8 // // 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 10:59:49 +0000 // float __fastcall AutoSaveSettingsLayer::getValue(__int64 a1, __int64 a2) { __int64 v2; // x0 const char *v3; // x1 float result; // s0 int v5; // w0 __int64 v6; // x0 int v7; // w0 int v8; // w8 bool v9; // cc int v10; // w9 __int64 v11; // x0 int IntGameVariable; // w0 if ( (int)a2 > -3 ) { if ( (_DWORD)a2 != -2 ) { if ( (_DWORD)a2 == -1 ) { v2 = GameManager::sharedState(a1); v3 = "0184"; LABEL_8: GameManager::getGameVariable(v2, v3); result = 0.0; if ( v5 ) return 1.0; return result; } LABEL_11: SetupTriggerPopup::getValue(a1, a2); return result; } v11 = GameManager::sharedState(a1); IntGameVariable = GameManager::getIntGameVariable(v11, "0185"); v8 = IntGameVariable / 60; v9 = IntGameVariable < 1; v10 = 5; } else { if ( (_DWORD)a2 != -4 ) { if ( (_DWORD)a2 == -3 ) { v2 = GameManager::sharedState(a1); v3 = "0186"; goto LABEL_8; } goto LABEL_11; } v6 = GameManager::sharedState(a1); v7 = GameManager::getIntGameVariable(v6, "0187"); v8 = v7 / 60; v9 = v7 < 1; v10 = 60; } if ( v9 ) return (float)v10; return (float)v8; }