//
// sub_140386440 from 0x140386440 to 0x1403864a0 (96 bytes)
//
// 2 xrefs:
// > PlayerObject::spiderTestJumpInternal @ 0x1403948f3
// > ??> @ 0x1406d5f18
//
// 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_140386440(_QWORD *a1, __int64 *a2)
{
__int64 v2; // rbx
cocos2d::CCRect *v3; // rax
int v4; // edi
cocos2d::CCRect *v5; // rax
v2 = *a2;
v3 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*a1 + 1168LL))(*a1);
v4 = (int)(float)(cocos2d::CCRect::getMaxX(v3) * 10.0);
v5 = (cocos2d::CCRect *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1168LL))(v2);
return (unsigned int)(-v4 - (int)(float)(cocos2d::CCRect::getMaxX(v5) * -10.0));
}