//
// CheckpointGameObject::customObjectSetup from 0x4f17dc to 0x4f18a4 (200 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:51:14 +0000
//
int __fastcall CheckpointGameObject::customObjectSetup(unsigned int a1, int *a2, int a3)
{
int v6; // r1
int v7; // r0
const char *v8; // r0
int v9; // r1
int v10; // r0
const char *v11; // r0
int v12; // r0
const char *v13; // r0
int v14; // r0
const char *v15; // r0
int result; // r0
int v17; // r0
const char *v18; // r0
EffectGameObject::customObjectSetup(a1, a2, a3);
v6 = *(_DWORD *)(*(_DWORD *)a3 + 204);
if ( v6 )
{
v7 = *a2;
if ( (*(_BYTE *)(*a2 + 612) & 1) != 0 )
v8 = *(const char **)(v7 + 620);
else
v8 = (const char *)(v7 + 613);
v6 = atoi(v8);
}
EffectGameObject::setTargetID(a1, v6);
v9 = *(_DWORD *)(*(_DWORD *)a3 + 284);
if ( v9 )
{
v10 = *a2;
if ( (*(_BYTE *)(*a2 + 852) & 1) != 0 )
v11 = *(const char **)(v10 + 860);
else
v11 = (const char *)(v10 + 853);
v9 = atoi(v11);
}
EffectGameObject::setTargetID2(a1, v9);
v12 = *(_DWORD *)(*(_DWORD *)a3 + 1792);
if ( v12 )
{
if ( (*(_BYTE *)(*a2 + 5376) & 1) != 0 )
v13 = *(const char **)(*a2 + 5384);
else
v13 = (const char *)(*a2 + 5377);
v12 = atoi(v13);
}
*(_DWORD *)(a1 + 1652) = v12;
v14 = *(_DWORD *)(*(_DWORD *)a3 + 2416);
if ( v14 )
{
if ( (*(_BYTE *)(*a2 + 7248) & 1) != 0 )
v15 = *(const char **)(*a2 + 7256);
else
v15 = (const char *)(*a2 + 7249);
v14 = atoi(v15);
}
*(_DWORD *)(a1 + 1656) = v14;
result = *(_DWORD *)(*(_DWORD *)a3 + 552);
if ( result )
{
v17 = *a2;
if ( (*(_BYTE *)(*a2 + 1656) & 1) != 0 )
v18 = *(const char **)(v17 + 1664);
else
v18 = (const char *)(v17 + 1657);
result = atoi(v18) != 0;
}
*(_BYTE *)(a1 + 1504) = result;
return result;
}