//
// ProgressGameObject::customObjectSetup from 0x10043ef08 to 0x10043f030 (296 bytes)
//
// 1 xrefs:
// > ??> @ 0x100960dd0
//
// 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:05:11 +0000
//
__int64 __fastcall ProgressGameObject::customObjectSetup(__int64 a1, __int64 a2, _QWORD *a3)
{
_QWORD *v6; // x21
const char *v7; // x0
int v8; // w0
__int64 v9; // x8
const char *v10; // x0
__int64 v11; // x8
const char *v12; // x0
const char *v13; // x0
int v14; // w0
const char *v15; // x0
__int64 result; // x0
EffectGameObject::customObjectSetup(a1, a2, (__int64)a3);
v6 = (_QWORD *)*a3;
if ( v6[602] )
{
v7 = (const char *)(*(_QWORD *)a2 + 14448LL);
if ( *(char *)(*(_QWORD *)a2 + 14471LL) < 0 )
v7 = *(const char **)v7;
v8 = atoi(v7);
}
else
{
v8 = 0;
}
*(_DWORD *)(a1 + 1840) = v8;
v9 = v6[603];
if ( v9 )
{
v10 = (const char *)(*(_QWORD *)a2 + 14472LL);
if ( *(char *)(*(_QWORD *)a2 + 14495LL) < 0 )
v10 = *(const char **)v10;
LOBYTE(v9) = atoi(v10) != 0;
}
*(_BYTE *)(a1 + 1844) = v9;
v11 = v6[605];
if ( v11 )
{
v12 = (const char *)(*(_QWORD *)a2 + 14520LL);
if ( *(char *)(*(_QWORD *)a2 + 14543LL) < 0 )
v12 = *(const char **)v12;
LOBYTE(v11) = atoi(v12) != 0;
}
*(_BYTE *)(a1 + 1845) = v11;
if ( v6[80] )
{
v13 = (const char *)(*(_QWORD *)a2 + 1920LL);
if ( *(char *)(*(_QWORD *)a2 + 1943LL) < 0 )
v13 = *(const char **)v13;
v14 = atoi(v13);
}
else
{
v14 = 0;
}
*(_DWORD *)(a1 + 1680) = v14;
if ( v6[95] )
{
v15 = (const char *)(*(_QWORD *)a2 + 2280LL);
if ( *(char *)(*(_QWORD *)a2 + 2303LL) < 0 )
v15 = *(const char **)v15;
result = atoi(v15);
}
else
{
result = 0;
}
*(_DWORD *)(a1 + 1668) = result;
return result;
}