//
// sub_6712C from 0x6712c to 0x67180 (84 bytes)
//
// 5 xrefs:
// > sub_DAC9C @ 0xdacbc
// > sub_DACC0 @ 0xdacd4
// > sub_DAD20 @ 0xdad28
// > sub_DAD58 @ 0xdad74
// > sub_DAD88 @ 0xdada0
//
// 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
//
__int64 __fastcall sub_6712C(__int64 a1, _QWORD *a2, _QWORD *a3)
{
__int64 result; // x0
if ( !a1 )
return 30;
if ( !a2 )
return 31;
if ( !a3 || (result = sub_50238(a3, *(_QWORD *)(a1 + 24)), !(_DWORD)result) )
{
*a2 = a1;
return 0;
}
return result;
}