//
// AutoSaveSettingsLayer::getValue from 0x6e69b0 to 0x6e6a2c (124 bytes)
//
// 0 xrefs:
//
// 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:57:25 +0000
//
float __fastcall AutoSaveSettingsLayer::getValue(AutoSaveSettingsLayer *this, int a2, int a3, int a4)
{
GameManager *v4; // r0
char *v5; // r1
float v6; // s15
GameManager *v7; // r0
int IntGameVariable; // r0
GameManager *v9; // r0
float result; // r0
switch ( a2 )
{
case -4:
v9 = (GameManager *)GameManager::sharedState(this);
IntGameVariable = GameManager::getIntGameVariable(v9, "0187");
if ( IntGameVariable <= 0 )
IntGameVariable = 3600;
goto LABEL_12;
case -3:
v4 = (GameManager *)GameManager::sharedState(this);
v5 = "0186";
goto LABEL_3;
case -2:
v7 = (GameManager *)GameManager::sharedState(this);
IntGameVariable = GameManager::getIntGameVariable(v7, "0185");
if ( IntGameVariable <= 0 )
IntGameVariable = (int)&dword_12C;
LABEL_12:
v6 = (float)(IntGameVariable / 60);
goto LABEL_14;
case -1:
v4 = (GameManager *)GameManager::sharedState(this);
v5 = "0184";
LABEL_3:
if ( GameManager::getGameVariable(v4, v5) )
v6 = 1.0;
else
v6 = 0.0;
LABEL_14:
result = v6;
break;
default:
result = SetupTriggerPopup::getValue((cocos2d::CCDictionary **)this, a2, a3, a4);
break;
}
return result;
}