//
// sub_1005E296C from 0x1005e296c to 0x1005e29cc (96 bytes)
//
// 1 xrefs:
// > sub_1005FE3D8 @ 0x1005fe598
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int *__fastcall sub_1005E296C(int *result, _BYTE *a2, int *a3)
{
int *v5; // x20
int v6; // w8
v5 = result;
if ( *result )
{
result = (int *)sub_1005E2850(a2, (__int64)(result + 2), *result);
v6 = (_DWORD)result + 1;
a2[(unsigned int)result] = 10;
a2[(_DWORD)result + 1] = 0;
*v5 = 0;
}
else
{
v6 = 0;
}
*a3 = v6;
return result;
}