; ; GameObject::slopeYPos from 0x1401a13b0 to 0x1401a14e1 (305 bytes) ; ; 4 xrefs: ; > PlayerObject::collidedWithSlopeInternal @ 0x14038fd4b ; > PlayerObject::collidedWithObjectInternal @ 0x1403921f1 ; > PlayerObject::spiderTestJumpInternal @ 0x140394b41 ; > @ 0x1406cbf4c ; ; 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 ; push rbx ; +0x0, 0x1401a13b0 sub rsp, 70h ; +0x2, 0x1401a13b2 mov rax, [rcx] ; +0x6, 0x1401a13b6 mov rbx, rcx ; +0x9, 0x1401a13b9 movaps [rsp+78h+var_18], xmm6 ; +0xc, 0x1401a13bc movaps xmm6, xmm1 ; +0x11, 0x1401a13c1 movaps [rsp+78h+var_28], xmm7 ; +0x14, 0x1401a13c4 movaps [rsp+78h+var_38], xmm8 ; +0x19, 0x1401a13c9 movaps [rsp+78h+var_48], xmm9 ; +0x1f, 0x1401a13cf call qword ptr [rax+490h] ; +0x25, 0x1401a13d5 mov rdx, rax ; +0x2b, 0x1401a13db lea rcx, [rsp+78h+var_58] ; +0x2e, 0x1401a13de call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x33, 0x1401a13e3 lea rcx, [rsp+78h+var_58] ; +0x39, 0x1401a13e9 call cs:?getMinX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinX(void) ; +0x3e, 0x1401a13ee xorps xmm8, xmm8 ; +0x44, 0x1401a13f4 lea rcx, [rsp+78h+var_58] ; +0x48, 0x1401a13f8 cvtss2sd xmm8, xmm0 ; +0x4d, 0x1401a13fd call cs:?getMaxX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxX(void) ; +0x52, 0x1401a1402 xorps xmm9, xmm9 ; +0x58, 0x1401a1408 lea rcx, [rsp+78h+var_58] ; +0x5c, 0x1401a140c cvtss2sd xmm9, xmm0 ; +0x61, 0x1401a1411 call cs:?getMinY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinY(void) ; +0x66, 0x1401a1416 xorps xmm7, xmm7 ; +0x6c, 0x1401a141c lea rcx, [rsp+78h+var_58] ; +0x6f, 0x1401a141f cvtss2sd xmm7, xmm0 ; +0x74, 0x1401a1424 call cs:?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x78, 0x1401a1428 movss xmm1, [rsp+78h+var_4C] ; +0x7e, 0x1401a142e xorps xmm2, xmm2 ; +0x84, 0x1401a1434 divss xmm1, [rsp+78h+var_50] ; +0x87, 0x1401a1437 movzx eax, byte ptr [rbx+440h] ; +0x8d, 0x1401a143d cvtss2sd xmm2, xmm0 ; +0x94, 0x1401a1444 xorps xmm0, xmm0 ; +0x98, 0x1401a1448 cvtss2sd xmm0, xmm6 ; +0x9b, 0x1401a144b cvtps2pd xmm3, xmm1 ; +0x9f, 0x1401a144f comisd xmm8, xmm0 ; +0xa2, 0x1401a1452 jb short loc_1401A1478 ; +0xa7, 0x1401a1457 subsd xmm8, xmm0 ; +0xa9, 0x1401a1459 mulsd xmm8, xmm3 ; +0xae, 0x1401a145e test al, al ; +0xb3, 0x1401a1463 jz short loc_1401A146E ; +0xb5, 0x1401a1465 subsd xmm7, xmm8 ; +0xb7, 0x1401a1467 jmp short loc_1401A1492 ; +0xbc, 0x1401a146c movaps xmm7, xmm8 ; +0xbe, 0x1401a146e addsd xmm7, xmm2 ; +0xc2, 0x1401a1472 jmp short loc_1401A1492 ; +0xc6, 0x1401a1476 subsd xmm0, xmm9 ; +0xc8, 0x1401a1478 mulsd xmm0, xmm3 ; +0xcd, 0x1401a147d test al, al ; +0xd1, 0x1401a1481 jz short loc_1401A148E ; +0xd3, 0x1401a1483 movaps xmm7, xmm0 ; +0xd5, 0x1401a1485 addsd xmm7, xmm2 ; +0xd8, 0x1401a1488 jmp short loc_1401A1492 ; +0xdc, 0x1401a148c subsd xmm7, xmm0 ; +0xde, 0x1401a148e cmp byte ptr [rbx+448h], 0 ; +0xe2, 0x1401a1492 jz short loc_1401A14C2 ; +0xe9, 0x1401a1499 mov eax, [rbx+444h] ; +0xeb, 0x1401a149b cmp eax, 6 ; +0xf1, 0x1401a14a1 ja short loc_1401A14BA ; +0xf4, 0x1401a14a4 mov ecx, 6Ah ; 'j' ; +0xf6, 0x1401a14a6 bt ecx, eax ; +0xfb, 0x1401a14ab jnb short loc_1401A14BA ; +0xfe, 0x1401a14ae addsd xmm7, cs:qword_140623748 ; +0x100, 0x1401a14b0 jmp short loc_1401A14C2 ; +0x108, 0x1401a14b8 addsd xmm7, cs:qword_140622E90 ; +0x10a, 0x1401a14ba movaps xmm6, [rsp+78h+var_18] ; +0x112, 0x1401a14c2 movaps xmm0, xmm7 ; +0x117, 0x1401a14c7 movaps xmm7, [rsp+78h+var_28] ; +0x11a, 0x1401a14ca movaps xmm8, [rsp+78h+var_38] ; +0x11f, 0x1401a14cf movaps xmm9, [rsp+78h+var_48] ; +0x125, 0x1401a14d5 add rsp, 70h ; +0x12b, 0x1401a14db pop rbx ; +0x12f, 0x1401a14df retn ; +0x130, 0x1401a14e0