//
// sub_10036E11C from 0x10036e11c to 0x10036e180 (100 bytes)
//
// 3 xrefs:
// > sub_100364844 @ 0x100364938
// > sub_10036E5D8 @ 0x10036e608
// > sub_10036E628 @ 0x10036e6e0
//
// 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
//
_QWORD *__fastcall sub_10036E11C(_QWORD *result, __int64 a2, __int64 a3, unsigned __int64 a4)
{
_QWORD *v6; // x19
if ( a4 )
{
v6 = result;
sub_100021660(result, a4);
result = (_QWORD *)sub_10036E1A0(v6, a2, a3, v6[1]);
v6[1] = result;
}
return result;
}