//
// sub_1005BE030 from 0x1005be030 to 0x1005be057 (39 bytes)
//
// 4 xrefs:
// > sub_1000D5780 @ 0x1000d5d41
// > sub_100982BC0 @ 0x100982bd7
// > AutoBackupOptionsPopup::getValue @ 0x10098343d
// > AutoBackupOptionsPopup::FLAlert_Clicked @ 0x1009834f4
//
// This function is hookable on this platform (idp: pc, 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 12:32:45 +0000
//
__int64 sub_1005BE030()
{
__int64 v0; // rax
int IntGameVariable; // eax
unsigned int v2; // ecx
bool v3; // cc
__int64 result; // rax
v0 = GameManager::sharedState();
IntGameVariable = GameManager::getIntGameVariable(v0, "0236");
v2 = IntGameVariable - 1;
v3 = IntGameVariable <= 0;
result = 20;
if ( !v3 )
return v2;
return result;
}