//
// sub_1001D5B4C from 0x1001d5b4c to 0x1001d5b9c (80 bytes)
//
// 1 xrefs:
// > sub_10038CA58 @ 0x10038ca98
//
// 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:25 +0000
//
__int64 *__fastcall sub_1001D5B4C(__int64 *result, int a2)
{
__int64 *v2; // x19
int v3; // [xsp+Ch] [xbp-14h] BYREF
v3 = a2;
if ( a2 >= 1 )
{
v2 = result;
result = sub_10001BB58(result + 76, &v3);
if ( !result )
return sub_10001CC04((unsigned __int64)(v2 + 76), &v3, &v3);
}
return result;
}