//
// 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 (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 12:13:55 +0000
//
__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;
}