//
// sub_100665990 from 0x100665990 to 0x1006659d0 (64 bytes)
//
// 1 xrefs:
// > sub_1006A9638 @ 0x1006aa1bc
//
// 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:00 +0000
//
__int64 __fastcall sub_100665990(__int64 result, _QWORD *a2, _DWORD *a3)
{
__int64 v3; // x8
__int64 v4; // x8
*a2 = 0;
v3 = *(_QWORD *)(result + 128);
if ( v3 )
{
v4 = *(_QWORD *)(v3 + 1200);
*a2 = v4;
if ( v4 )
*a3 = *(_DWORD *)(*(_QWORD *)(result + 128) + 1208LL);
else
*a3 = 0;
}
else
{
*a3 = 0;
}
return result;
}