//
// sub_1006B1C54 from 0x1006b1c54 to 0x1006b1d60 (268 bytes)
//
// 1 xrefs:
// > sub_1007227E4 @ 0x1007228c4
//
// 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:11:50 +0000
//
__int64 __fastcall sub_1006B1C54(char *a1)
{
__int64 v2; // x0
int v3; // w24
__int64 v4; // x23
_BYTE *v5; // x0
void *v6; // x19
__int64 v7; // x0
void *v8; // x20
v2 = sub_100713E24(0, 0, a1);
v3 = v2;
v4 = 0;
if ( (int)v2 >= 1 )
{
v5 = sub_1006AE878(v2, (__int64)"obj_dat.c", 786);
v6 = v5;
if ( v5 )
{
if ( (unsigned int)sub_100713E24((int)v5, v3, a1)
&& (++dword_1009E6160, v7 = sub_1007148B8(), (v8 = (void *)v7) != nullptr) )
{
v4 = sub_1006B0A8C(v7);
}
else
{
v4 = 0;
v8 = nullptr;
}
sub_100714840(v8);
sub_1006AEDAC(v6);
}
else
{
sub_100706FB0(8, 100, 65, "obj_dat.c", 787);
return 0;
}
}
return v4;
}