//
// sub_1001C5514 from 0x1001c5514 to 0x1001c5578 (100 bytes)
//
// 1 xrefs:
// > sub_1001C4F04 @ 0x1001c5228
//
// 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:00:16 +0000
//
__int64 __fastcall sub_1001C5514(__int64 a1)
{
__int64 v2; // x8
__int64 v3; // x0
_QWORD *v4; // x0
__int64 v5; // x8
__int64 v6; // x8
v2 = *(_QWORD *)(a1 + 672);
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 680);
if ( v3 )
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 8LL))(v3);
}
else
{
v3 = 0;
}
v4 = (_QWORD *)sub_100467B58(v3, 1);
v5 = *(_QWORD *)(a1 + 672);
if ( v5 )
v6 = v5 + 672;
else
v6 = 0;
v4[110] = v6;
return (*(__int64 (__fastcall **)(_QWORD *))(*v4 + 1312LL))(v4);
}