//
// sub_1005EC350 from 0x1005ec350 to 0x1005ec3c8 (120 bytes)
//
// 1 xrefs:
// > sub_10062CB98 @ 0x10062cbb0
//
// 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
//
_DWORD *__fastcall sub_1005EC350(int a1, int a2)
{
_BYTE *v4; // x0
_DWORD *v5; // x19
v4 = sub_100588710(208, (__int64)"pmeth_lib.c", 200);
v5 = v4;
if ( !v4 )
return nullptr;
memset(v4, 0, 0xD0u);
*v5 = a1;
v5[1] = a2 | 1;
memset(v5 + 2, 0, 0xC8u);
return v5;
}