; ; GameObject::getScalePosDelta from 0x14019c5a0 to 0x14019c6b5 (277 bytes) ; ; 7 xrefs: ; > PlayerObject::postCollision @ 0x14038e5af ; > PlayerObject::postCollision @ 0x14038e7cf ; > PlayerObject::collidedWithObjectInternal @ 0x140391d44 ; > PlayerObject::collidedWithObjectInternal @ 0x140391d53 ; > PlayerObject::collidedWithObjectInternal @ 0x1403932ac ; > PlayerObject::collidedWithObjectInternal @ 0x1403932c6 ; > @ 0x1406cbd84 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x14019c5a0 push rdi ; +0x5, 0x14019c5a5 sub rsp, 30h ; +0x6, 0x14019c5a6 mov rbx, rdx ; +0xa, 0x14019c5aa mov rdi, rcx ; +0xd, 0x14019c5ad mov rcx, rbx ; +0x10, 0x14019c5b0 lea rdx, stru_1406C1C08 ; +0x13, 0x14019c5b3 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x1a, 0x14019c5ba mov rax, [rdi] ; +0x20, 0x14019c5c0 mov rcx, rdi ; +0x23, 0x14019c5c3 call qword ptr [rax+490h] ; +0x26, 0x14019c5c6 mov rdx, rax ; +0x2c, 0x14019c5cc lea rcx, [rsp+38h+var_18] ; +0x2f, 0x14019c5cf call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x34, 0x14019c5d4 cmp byte ptr [rdi+390h], 0 ; +0x3a, 0x14019c5da jz short loc_14019C5F1 ; +0x41, 0x14019c5e1 movss xmm2, [rsp+38h+var_10] ; +0x43, 0x14019c5e3 movss xmm1, [rsp+38h+var_C] ; +0x49, 0x14019c5e9 jmp short loc_14019C5FD ; +0x4f, 0x14019c5ef movss xmm2, [rsp+38h+var_C] ; +0x51, 0x14019c5f1 movss xmm1, [rsp+38h+var_10] ; +0x57, 0x14019c5f7 movss xmm3, cs:dword_140623614 ; +0x5d, 0x14019c5fd movss xmm5, dword ptr [rdi+3E4h] ; +0x65, 0x14019c605 movss xmm4, dword ptr [rdi+488h] ; +0x6d, 0x14019c60d movaps xmm0, xmm5 ; +0x75, 0x14019c615 mulss xmm0, xmm3 ; +0x78, 0x14019c618 cvttss2si ecx, xmm0 ; +0x7c, 0x14019c61c movaps xmm0, xmm4 ; +0x80, 0x14019c620 mulss xmm0, xmm3 ; +0x83, 0x14019c623 cvttss2si eax, xmm0 ; +0x87, 0x14019c627 cmp eax, ecx ; +0x8b, 0x14019c62b jz short loc_14019C64A ; +0x8d, 0x14019c62d movaps xmm0, xmm1 ; +0x8f, 0x14019c62f divss xmm0, xmm4 ; +0x92, 0x14019c632 mulss xmm0, xmm5 ; +0x96, 0x14019c636 subss xmm1, xmm0 ; +0x9a, 0x14019c63a mulss xmm1, cs:dword_140622B08 ; +0x9e, 0x14019c63e movss dword ptr [rbx], xmm1 ; +0xa6, 0x14019c646 movss xmm4, dword ptr [rdi+48Ch] ; +0xaa, 0x14019c64a movss xmm5, dword ptr [rdi+3E8h] ; +0xb2, 0x14019c652 movaps xmm1, xmm4 ; +0xba, 0x14019c65a movaps xmm0, xmm5 ; +0xbd, 0x14019c65d mulss xmm1, xmm3 ; +0xc0, 0x14019c660 mulss xmm0, xmm3 ; +0xc4, 0x14019c664 cvttss2si eax, xmm1 ; +0xc8, 0x14019c668 cvttss2si ecx, xmm0 ; +0xcc, 0x14019c66c cmp eax, ecx ; +0xd0, 0x14019c670 jz short loc_14019C690 ; +0xd2, 0x14019c672 movaps xmm0, xmm2 ; +0xd4, 0x14019c674 divss xmm0, xmm4 ; +0xd7, 0x14019c677 mulss xmm0, xmm5 ; +0xdb, 0x14019c67b subss xmm2, xmm0 ; +0xdf, 0x14019c67f mulss xmm2, cs:dword_140622B08 ; +0xe3, 0x14019c683 movss dword ptr [rbx+4], xmm2 ; +0xeb, 0x14019c68b cmp byte ptr [rdi+390h], 0 ; +0xf0, 0x14019c690 jz short loc_14019C6A7 ; +0xf7, 0x14019c697 movss xmm0, dword ptr [rbx] ; +0xf9, 0x14019c699 mov eax, [rbx+4] ; +0xfd, 0x14019c69d movss dword ptr [rbx+4], xmm0 ; +0x100, 0x14019c6a0 mov [rbx], eax ; +0x105, 0x14019c6a5 mov rax, rbx ; +0x107, 0x14019c6a7 mov rbx, [rsp+38h+arg_0] ; +0x10a, 0x14019c6aa add rsp, 30h ; +0x10f, 0x14019c6af pop rdi ; +0x113, 0x14019c6b3 retn ; +0x114, 0x14019c6b4