//
// sub_100567930 from 0x100567930 to 0x100567988 (88 bytes)
//
// 1 xrefs:
// > sub_100565B84 @ 0x100566cb8
//
// 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:08:12 +0000
//
__int64 __fastcall sub_100567930(_QWORD *a1, __int64 a2)
{
__int64 result; // x0
if ( !a2 || (*(_BYTE *)(a2 + 122) & 0x10) != 0 )
return 0;
if ( *a1 )
return 28;
result = sub_100568CC4(a2, 13);
if ( !(_DWORD)result )
*a1 = a2;
return result;
}