//
// UISettingsGameObject::customObjectSetup from 0x100439314 to 0x10043948c (376 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095c4b0
//
// 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:09 +0000
//
__int64 __fastcall UISettingsGameObject::customObjectSetup(__int64 a1, __int64 a2, _QWORD *a3)
{
_QWORD *v6; // x21
const char *v7; // x0
int v8; // w0
int v9; // w8
const char *v10; // x0
int v11; // w0
int v12; // w8
const char *v13; // x0
int v14; // w0
const char *v15; // x0
__int64 result; // x0
__int64 v17; // x8
const char *v18; // x0
__int64 v19; // x8
const char *v20; // x0
EffectGameObject::customObjectSetup(a1, a2, (__int64)a3);
v6 = (_QWORD *)*a3;
if ( v6[51] )
{
v7 = (const char *)(*(_QWORD *)a2 + 1224LL);
if ( *(char *)(*(_QWORD *)a2 + 1247LL) < 0 )
v7 = *(const char **)v7;
v8 = atoi(v7);
}
else
{
v8 = 0;
}
v9 = v8 & ~(v8 >> 31);
if ( v9 >= 9999 )
v9 = 9999;
*(_DWORD *)(a1 + 1464) = v9;
if ( v6[71] )
{
v10 = (const char *)(*(_QWORD *)a2 + 1704LL);
if ( *(char *)(*(_QWORD *)a2 + 1727LL) < 0 )
v10 = *(const char **)v10;
v11 = atoi(v10);
}
else
{
v11 = 0;
}
v12 = v11 & ~(v11 >> 31);
if ( v12 >= 9999 )
v12 = 9999;
*(_DWORD *)(a1 + 1468) = v12;
if ( v6[385] )
{
v13 = (const char *)(*(_QWORD *)a2 + 9240LL);
if ( *(char *)(*(_QWORD *)a2 + 9263LL) < 0 )
v13 = *(const char **)v13;
v14 = atoi(v13);
}
else
{
v14 = 0;
}
*(_DWORD *)(a1 + 1840) = v14;
if ( v6[386] )
{
v15 = (const char *)(*(_QWORD *)a2 + 9264LL);
if ( *(char *)(*(_QWORD *)a2 + 9287LL) < 0 )
v15 = *(const char **)v15;
result = atoi(v15);
}
else
{
result = 0;
}
*(_DWORD *)(a1 + 1844) = result;
v17 = v6[387];
if ( v17 )
{
v18 = (const char *)(*(_QWORD *)a2 + 9288LL);
if ( *(char *)(*(_QWORD *)a2 + 9311LL) < 0 )
v18 = *(const char **)v18;
result = atoi(v18);
LOBYTE(v17) = (_DWORD)result != 0;
}
*(_BYTE *)(a1 + 1848) = v17;
v19 = v6[388];
if ( v19 )
{
v20 = (const char *)(*(_QWORD *)a2 + 9312LL);
if ( *(char *)(*(_QWORD *)a2 + 9335LL) < 0 )
v20 = *(const char **)v20;
result = atoi(v20);
LOBYTE(v19) = (_DWORD)result != 0;
}
*(_BYTE *)(a1 + 1849) = v19;
return result;
}