//
// sub_1000204B4 from 0x1000204b4 to 0x100020520 (108 bytes)
//
// 1 xrefs:
// > sub_100020234 @ 0x100020344
//
// 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_1000204B4(__int64 **a1, _QWORD *a2)
{
int *v4; // x19
_QWORD *v5; // x0
__int64 v7; // [xsp+8h] [xbp-28h] BYREF
v4 = (int *)operator new(0x28u);
*(_QWORD *)(v4 + 7) = *a2;
v5 = sub_1000203AC((__int64)a1, &v7, v4 + 7);
sub_10000A0F0(a1, v7, v5, v4);
return v4;
}