//
// sub_100682B94 from 0x100682b94 to 0x100682bbc (40 bytes)
//
// 1 xrefs:
// > sub_100693C98 @ 0x100693f80
//
// 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:11:18 +0000
//
__int64 __fastcall sub_100682B94(__int64 a1, _BYTE *a2)
{
__int64 (*v2)(void); // x2
if ( a1 && (v2 = *(__int64 (**)(void))(*(_QWORD *)(a1 + 800) + 48LL)) != nullptr )
{
*a2 = 0;
return v2();
}
else
{
*a2 = 1;
return 0;
}
}