//
// sub_1007124B8 from 0x1007124b8 to 0x100712530 (120 bytes)
//
// 1 xrefs:
// > sub_100752D00 @ 0x100752d18
//
// 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:12:58 +0000
//
_DWORD *__fastcall sub_1007124B8(int a1, int a2)
{
_BYTE *v4; // x0
_DWORD *v5; // x19
v4 = sub_1006AE878(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;
}