//
// sub_1003E7400 from 0x1003e7400 to 0x1003e7453 (83 bytes)
//
// 3 xrefs:
// > PlayerObject::spiderTestJumpInternal @ 0x1003fab9e
// > PlayerObject::spiderTestJumpX @ 0x1003fc11e
// > PlayerObject::spiderTestJumpX @ 0x1003fc157
//
// 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_1003E7400(_QWORD *a1, __int64 *a2)
{
__int64 v2; // rbx
__int64 v3; // rax
int v4; // r14d
__int64 v5; // rax
v2 = *a2;
v3 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 1328LL))(*a1);
v4 = (int)(float)(sub_1002788F0(v3) * 10.0);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1328LL))(v2);
return (unsigned int)((int)(float)(sub_1002788F0(v5) * 10.0) - v4);
}