//
// sub_10012570C from 0x10012570c to 0x100125758 (76 bytes)
//
// 3 xrefs:
// > sub_10012502C @ 0x100125044
// > sub_1001250E0 @ 0x1001250f0
// > sub_10020A264 @ 0x10020a274
//
// 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
//
void __fastcall sub_10012570C(__int64 a1, void **__p)
{
void **v3; // [xsp+8h] [xbp-18h] BYREF
if ( *(_BYTE *)(a1 + 8) == 1 )
{
v3 = __p + 3;
sub_100124F2C(&v3);
}
if ( __p )
operator delete(__p);
}