//
// sub_1003FA2E0 from 0x1003fa2e0 to 0x1003fa333 (83 bytes)
//
// 3 xrefs:
// > PlayerObject::spiderTestJumpInternal @ 0x10040da65
// > PlayerObject::spiderTestJumpY @ 0x10040fe58
// > PlayerObject::spiderTestJumpY @ 0x10040fe91
//
// 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_1003FA2E0(_QWORD *a1, __int64 *a2)
{
__int64 v2; // rbx
float *v3; // rax
double v4; // xmm0_8
int v5; // r14d
float *v6; // rax
double v7; // xmm0_8
v2 = *a2;
v3 = (float *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 1312LL))(*a1);
v4 = sub_10028D230(v3);
v5 = (int)(float)(*(float *)&v4 * 10.0);
v6 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);
v7 = sub_10028D230(v6);
return (unsigned int)((int)(float)(*(float *)&v7 * 10.0) - v5);
}