//
// sub_10035B100 from 0x10035b100 to 0x10035b1cb (203 bytes)
//
// 1 xrefs:
// > ??> @ 0x100917fe0
//
// 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
//
char __fastcall sub_10035B100(__int64 a1, __int64 a2)
{
__int64 v2; // r14
double v3; // xmm0_8
double v5[5]; // [rsp+8h] [rbp-28h] BYREF
v2 = a1 - 320;
if ( !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 320) + 1336LL))(a1 - 320)
|| !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1256LL))(v2)
|| !(*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v2 + 336LL))(v2) )
{
return 0;
}
(*(void (__fastcall **)(double *, __int64, __int64))(*(_QWORD *)(a1 - 320) + 1328LL))(v5, v2, a2);
sub_10028CC90((_QWORD *)(a1 + 168), v5);
v3 = sub_10028CC60(v5, (double *)(a1 + 168));
(*(void (__fastcall **)(__int64, __int64, double))(*(_QWORD *)(a1 - 320) + 1264LL))(v2, 1, v3);
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 152) + 944LL))(*(_QWORD *)(a1 + 152), &unk_100819CE1);
return 1;
}