//
// sub_1404E4590 from 0x1404e4590 to 0x1404e45ee (94 bytes)
//
// 2 xrefs:
// > PlayerObject::spiderTestJumpInternal @ 0x1404f2ae0
// > ??> @ 0x140929bac
//
// 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 11:33:10 +0000
//
__int64 __fastcall sub_1404E4590(_QWORD *a1, __int64 *a2)
{
__int64 v2; // rdi
cocos2d::CCRect *v3; // rax
int v4; // ebx
cocos2d::CCRect *v5; // rax
v2 = *a2;
v3 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 1184LL))(*a1);
v4 = (int)(float)(cocos2d::CCRect::getMinY(v3) * 10.0);
v5 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1184LL))(v2);
return (unsigned int)(v4 - (int)(float)(cocos2d::CCRect::getMinY(v5) * 10.0));
}