//
// sub_100488B60 from 0x100488b60 to 0x100488ba6 (70 bytes)
//
// 1 xrefs:
// > DailyLevelPage::onTheSafe @ 0x100215518
//
// 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:30:43 +0000
//
__int64 __fastcall sub_100488B60(int a1)
{
_BOOL4 v1; // eax
bool v2; // zf
unsigned int v3; // edx
unsigned int v4; // eax
__int64 v5; // rdi
__int64 result; // rax
v1 = a1 == 2;
v2 = a1 == 1;
v3 = 22;
if ( a1 != 1 )
v3 = 2 * v1 + 21;
v4 = 2 * v1 + 32;
v5 = 33;
if ( !v2 )
v5 = v4;
if ( dword_100BDEB30 == 2 )
v5 = v3;
result = GJSearchObject::create_2(v5);
*(_BYTE *)(result + 404) = dword_100BDEB30 == 1;
return result;
}