//
// sub_67860 from 0x67860 to 0x678b8 (88 bytes)
//
// 2 xrefs:
// > sub_67800 @ 0x6783c
// > sub_78B30 @ 0x79a40
//
// 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_67860(_QWORD *a1, __int64 a2)
{
__int64 result; // x0
if ( !a2 || (*(_BYTE *)(a2 + 122) & 0x10) != 0 )
return 0;
if ( *a1 )
return 28;
result = sub_7B9D0(a2, 13);
if ( !(_DWORD)result )
*a1 = a2;
return result;
}