//
// sub_1003E74C0 from 0x1003e74c0 to 0x1003e7513 (83 bytes)
//
// 3 xrefs:
// > PlayerObject::spiderTestJumpInternal @ 0x1003fab85
// > PlayerObject::spiderTestJumpY @ 0x1003fcf78
// > PlayerObject::spiderTestJumpY @ 0x1003fcfb1
//
// This function is hookable on this platform (idp: pc, 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 12:29:48 +0000
//
__int64 __fastcall sub_1003E74C0(_QWORD *a1, __int64 *a2)
{
__int64 v2; // rbx
float *v3; // rax
int v4; // r14d
float *v5; // rax
v2 = *a2;
v3 = (float *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 1328LL))(*a1);
v4 = (int)(float)(sub_1002788A0(v3) * 10.0);
v5 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1328LL))(v2);
return (unsigned int)((int)(float)(sub_1002788A0(v5) * 10.0) - v4);
}