; ; cocos2d::CCCardinalSplineTo::update from 0x180026940 to 0x180026ca1 (865 bytes) ; ; 8 xrefs: ; > @ 0x1800e76f8 ; > @ 0x1800e7778 ; > @ 0x1800e77f8 ; > @ 0x1800e7878 ; > @ 0x180134564 ; > @ 0x180134574 ; > @ 0x1801438a8 ; > @ 0x1801af424 ; ; 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 rbp ; +0x0, 0x180026940 push rbx ; +0x2, 0x180026942 push rsi ; +0x3, 0x180026943 push rdi ; +0x4, 0x180026944 push r14 ; +0x5, 0x180026945 lea rbp, [rsp-37h] ; +0x7, 0x180026947 sub rsp, 0A0h ; +0xc, 0x18002694c movaps [rsp+0C0h+var_70], xmm10 ; +0x13, 0x180026953 mov rsi, rcx ; +0x19, 0x180026959 movaps [rsp+0C0h+var_80], xmm11 ; +0x1c, 0x18002695c movaps xmm10, xmm1 ; +0x22, 0x180026962 movss xmm11, cs:flt_1800E61A8 ; +0x26, 0x180026966 ucomiss xmm10, xmm11 ; +0x2f, 0x18002696f jp short loc_180026992 ; +0x33, 0x180026973 jnz short loc_180026992 ; +0x35, 0x180026975 mov rax, [rcx+60h] ; +0x37, 0x180026977 movaps xmm10, xmm11 ; +0x3b, 0x18002697b mov rdx, [rax+38h] ; +0x3f, 0x18002697f mov rbx, [rdx+8] ; +0x43, 0x180026983 sub rbx, [rdx] ; +0x47, 0x180026987 sar rbx, 3 ; +0x4a, 0x18002698a dec ebx ; +0x4e, 0x18002698e jmp short loc_1800269BC ; +0x50, 0x180026990 movss xmm1, dword ptr [rcx+68h] ; +0x52, 0x180026992 movaps xmm0, xmm10 ; +0x57, 0x180026997 divss xmm0, xmm1 ; +0x5b, 0x18002699b cvttss2si rbx, xmm0 ; +0x5f, 0x18002699f xorps xmm0, xmm0 ; +0x64, 0x1800269a4 mov ebx, ebx ; +0x67, 0x1800269a7 cvtsi2ss xmm0, rbx ; +0x69, 0x1800269a9 mulss xmm0, xmm1 ; +0x6e, 0x1800269ae subss xmm10, xmm0 ; +0x72, 0x1800269b2 divss xmm10, xmm1 ; +0x77, 0x1800269b7 mov rax, [rcx+60h] ; +0x7c, 0x1800269bc lea edx, [rbx-1] ; +0x80, 0x1800269c0 xor r14d, r14d ; +0x83, 0x1800269c3 mov rcx, [rax+38h] ; +0x86, 0x1800269c6 mov r9, [rcx] ; +0x8a, 0x1800269ca mov r8, [rcx+8] ; +0x8d, 0x1800269cd mov ecx, r14d ; +0x91, 0x1800269d1 sub r8, r9 ; +0x94, 0x1800269d4 sar r8, 3 ; +0x97, 0x1800269d7 test edx, edx ; +0x9b, 0x1800269db cmovnz ecx, edx ; +0x9d, 0x1800269dd lea rax, [r8-1] ; +0xa0, 0x1800269e0 cmp rax, rcx ; +0xa4, 0x1800269e4 jnb short loc_1800269ED ; +0xa7, 0x1800269e7 lea ecx, [r8-1] ; +0xa9, 0x1800269e9 mov edx, ecx ; +0xad, 0x1800269ed cmp r8, rdx ; +0xaf, 0x1800269ef jbe loc_180026C9B ; +0xb2, 0x1800269f2 mov rdx, [r9+rcx*8] ; +0xb8, 0x1800269f8 lea rcx, [rbp+57h+var_A0] ; +0xbc, 0x1800269fc call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0xc0, 0x180026a00 mov rax, [rsi+60h] ; +0xc5, 0x180026a05 mov rcx, [rax+38h] ; +0xc9, 0x180026a09 mov r8, [rcx] ; +0xcd, 0x180026a0d mov rdx, [rcx+8] ; +0xd0, 0x180026a10 mov ecx, r14d ; +0xd4, 0x180026a14 sub rdx, r8 ; +0xd7, 0x180026a17 sar rdx, 3 ; +0xda, 0x180026a1a test ebx, ebx ; +0xde, 0x180026a1e cmovnz ecx, ebx ; +0xe0, 0x180026a20 lea rax, [rdx-1] ; +0xe3, 0x180026a23 cmp rax, rcx ; +0xe7, 0x180026a27 jnb short loc_180026A2F ; +0xea, 0x180026a2a lea ecx, [rdx-1] ; +0xec, 0x180026a2c mov eax, ecx ; +0xef, 0x180026a2f cmp rdx, rax ; +0xf1, 0x180026a31 jbe loc_180026C9B ; +0xf4, 0x180026a34 mov rdx, [r8+rcx*8] ; +0xfa, 0x180026a3a lea rcx, [rbp+57h+arg_18] ; +0xfe, 0x180026a3e call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x102, 0x180026a42 mov rax, [rsi+60h] ; +0x107, 0x180026a47 lea edx, [rbx+1] ; +0x10b, 0x180026a4b mov rcx, [rax+38h] ; +0x10e, 0x180026a4e mov r9, [rcx] ; +0x112, 0x180026a52 mov r8, [rcx+8] ; +0x115, 0x180026a55 mov ecx, r14d ; +0x119, 0x180026a59 sub r8, r9 ; +0x11c, 0x180026a5c sar r8, 3 ; +0x11f, 0x180026a5f test edx, edx ; +0x123, 0x180026a63 cmovnz ecx, edx ; +0x125, 0x180026a65 lea rax, [r8-1] ; +0x128, 0x180026a68 cmp rax, rcx ; +0x12c, 0x180026a6c jnb short loc_180026A75 ; +0x12f, 0x180026a6f lea ecx, [r8-1] ; +0x131, 0x180026a71 mov edx, ecx ; +0x135, 0x180026a75 cmp r8, rdx ; +0x137, 0x180026a77 jbe loc_180026C9B ; +0x13a, 0x180026a7a mov rdx, [r9+rcx*8] ; +0x140, 0x180026a80 lea rcx, [rbp+57h+var_98] ; +0x144, 0x180026a84 call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x148, 0x180026a88 mov rax, [rsi+60h] ; +0x14d, 0x180026a8d lea edx, [rbx+2] ; +0x151, 0x180026a91 mov rcx, [rax+38h] ; +0x154, 0x180026a94 mov r9, [rcx] ; +0x158, 0x180026a98 mov r8, [rcx+8] ; +0x15b, 0x180026a9b sub r8, r9 ; +0x15f, 0x180026a9f sar r8, 3 ; +0x162, 0x180026aa2 test edx, edx ; +0x166, 0x180026aa6 cmovnz r14d, edx ; +0x168, 0x180026aa8 mov ecx, r14d ; +0x16c, 0x180026aac lea rax, [r8-1] ; +0x16f, 0x180026aaf cmp rax, rcx ; +0x173, 0x180026ab3 jnb short loc_180026ABC ; +0x176, 0x180026ab6 lea ecx, [r8-1] ; +0x178, 0x180026ab8 mov edx, ecx ; +0x17c, 0x180026abc cmp r8, rdx ; +0x17e, 0x180026abe jbe loc_180026C9B ; +0x181, 0x180026ac1 mov rdx, [r9+rcx*8] ; +0x187, 0x180026ac7 lea rcx, [rbp+57h+var_90] ; +0x18b, 0x180026acb movaps [rsp+0C0h+var_30], xmm6 ; +0x18f, 0x180026acf movaps [rsp+0C0h+var_40], xmm7 ; +0x197, 0x180026ad7 movaps [rsp+0C0h+var_50], xmm8 ; +0x19f, 0x180026adf movaps [rsp+0C0h+var_60], xmm9 ; +0x1a5, 0x180026ae5 call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x1ab, 0x180026aeb movaps xmm6, xmm10 ; +0x1b0, 0x180026af0 lea rcx, [rbp+57h+arg_10] ; +0x1b4, 0x180026af4 mulss xmm6, xmm10 ; +0x1b8, 0x180026af8 movaps xmm5, xmm11 ; +0x1bd, 0x180026afd subss xmm5, dword ptr [rsi+6Ch] ; +0x1c1, 0x180026b01 movaps xmm9, xmm6 ; +0x1c6, 0x180026b06 movaps xmm3, xmm6 ; +0x1ca, 0x180026b0a mulss xmm9, xmm10 ; +0x1cd, 0x180026b0d addss xmm3, xmm6 ; +0x1d2, 0x180026b12 mulss xmm5, cs:dword_1800E6308 ; +0x1d6, 0x180026b16 movaps xmm1, xmm6 ; +0x1de, 0x180026b1e mulss xmm1, cs:flt_1800E6700 ; +0x1e1, 0x180026b21 movaps xmm7, xmm6 ; +0x1e9, 0x180026b29 subss xmm7, xmm9 ; +0x1ec, 0x180026b2c movaps xmm2, xmm9 ; +0x1f1, 0x180026b31 addss xmm2, xmm9 ; +0x1f5, 0x180026b35 movaps xmm4, xmm9 ; +0x1fa, 0x180026b3a subss xmm4, xmm3 ; +0x1fe, 0x180026b3e movaps xmm8, xmm3 ; +0x202, 0x180026b42 subss xmm8, xmm9 ; +0x206, 0x180026b46 subss xmm9, xmm6 ; +0x20b, 0x180026b4b mulss xmm7, xmm5 ; +0x210, 0x180026b50 movaps xmm0, xmm2 ; +0x214, 0x180026b54 addss xmm4, xmm10 ; +0x217, 0x180026b57 subss xmm0, xmm1 ; +0x21c, 0x180026b5c subss xmm1, xmm2 ; +0x220, 0x180026b60 mulss xmm9, xmm5 ; +0x224, 0x180026b64 movss xmm2, [rbp+57h+arg_1C] ; +0x229, 0x180026b69 subss xmm8, xmm10 ; +0x231, 0x180026b71 mulss xmm4, xmm5 ; +0x236, 0x180026b76 addss xmm0, xmm11 ; +0x23a, 0x180026b7a addss xmm4, xmm1 ; +0x23f, 0x180026b7f mulss xmm8, xmm5 ; +0x243, 0x180026b83 movss xmm1, [rbp+57h+var_94] ; +0x248, 0x180026b88 addss xmm7, xmm0 ; +0x24d, 0x180026b8d movaps xmm0, xmm8 ; +0x251, 0x180026b91 mulss xmm8, [rbp+57h+var_A0] ; +0x255, 0x180026b95 mulss xmm0, [rbp+57h+var_9C] ; +0x25b, 0x180026b9b mulss xmm2, xmm7 ; +0x260, 0x180026ba0 mulss xmm7, [rbp+57h+arg_18] ; +0x264, 0x180026ba4 addss xmm2, xmm0 ; +0x269, 0x180026ba9 mulss xmm1, xmm4 ; +0x26d, 0x180026bad mulss xmm4, [rbp+57h+var_98] ; +0x271, 0x180026bb1 addss xmm7, xmm8 ; +0x276, 0x180026bb6 movss xmm0, [rbp+57h+var_8C] ; +0x27b, 0x180026bbb mulss xmm0, xmm9 ; +0x280, 0x180026bc0 addss xmm2, xmm1 ; +0x285, 0x180026bc5 mulss xmm9, [rbp+57h+var_90] ; +0x289, 0x180026bc9 addss xmm7, xmm4 ; +0x28f, 0x180026bcf addss xmm2, xmm0 ; +0x293, 0x180026bd3 addss xmm7, xmm9 ; +0x297, 0x180026bd7 movaps xmm1, xmm7 ; +0x29c, 0x180026bdc call kmVec2Fill ; +0x29f, 0x180026bdf mov rcx, [rsi+40h] ; +0x2a4, 0x180026be4 mov rax, [rcx] ; +0x2a8, 0x180026be8 call qword ptr [rax+0C8h] ; +0x2ab, 0x180026beb mov rcx, rax ; +0x2b1, 0x180026bf1 lea r8, [rsi+70h] ; +0x2b4, 0x180026bf4 lea rdx, [rbp+57h+arg_0] ; +0x2b8, 0x180026bf8 call ??GCCSize@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCSize::operator-(cocos2d::CCSize const &) ; +0x2bc, 0x180026bfc movss xmm0, [rbp+57h+arg_0] ; +0x2c1, 0x180026c01 xorps xmm1, xmm1 ; +0x2c6, 0x180026c06 ucomiss xmm0, xmm1 ; +0x2c9, 0x180026c09 movaps xmm9, [rsp+0C0h+var_60] ; +0x2cc, 0x180026c0c movaps xmm8, [rsp+0C0h+var_50] ; +0x2d2, 0x180026c12 movaps xmm7, [rsp+0C0h+var_40] ; +0x2d8, 0x180026c18 movaps xmm6, [rsp+0C0h+var_30] ; +0x2e0, 0x180026c20 jp short loc_180026C38 ; +0x2e8, 0x180026c28 jnz short loc_180026C38 ; +0x2ea, 0x180026c2a movss xmm0, [rbp+57h+arg_4] ; +0x2ec, 0x180026c2c ucomiss xmm0, xmm1 ; +0x2f1, 0x180026c31 jp short loc_180026C38 ; +0x2f4, 0x180026c34 jz short loc_180026C74 ; +0x2f6, 0x180026c36 lea r8, [rbp+57h+arg_0] ; +0x2f8, 0x180026c38 lea rdx, [rbp+57h+var_88] ; +0x2fc, 0x180026c3c lea rcx, [rsi+78h] ; +0x300, 0x180026c40 call ??HCCSize@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCSize::operator+(cocos2d::CCSize const &) ; +0x304, 0x180026c44 lea rdx, [rbp+57h+var_88] ; +0x309, 0x180026c49 lea rcx, [rsi+78h] ; +0x30d, 0x180026c4d call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x311, 0x180026c51 lea r8, [rsi+78h] ; +0x316, 0x180026c56 lea rdx, [rbp+57h+var_88] ; +0x31a, 0x180026c5a lea rcx, [rbp+57h+arg_10] ; +0x31e, 0x180026c5e call ??HCCSize@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCSize::operator+(cocos2d::CCSize const &) ; +0x322, 0x180026c62 lea rdx, [rbp+57h+var_88] ; +0x327, 0x180026c67 lea rcx, [rbp+57h+arg_10] ; +0x32b, 0x180026c6b call ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x32f, 0x180026c6f mov rax, [rsi] ; +0x334, 0x180026c74 lea rdx, [rbp+57h+arg_10] ; +0x337, 0x180026c77 mov rcx, rsi ; +0x33b, 0x180026c7b call qword ptr [rax+70h] ; +0x33e, 0x180026c7e movaps xmm10, [rsp+0C0h+var_70] ; +0x341, 0x180026c81 movaps xmm11, [rsp+0C0h+var_80] ; +0x347, 0x180026c87 add rsp, 0A0h ; +0x34d, 0x180026c8d pop r14 ; +0x354, 0x180026c94 pop rdi ; +0x356, 0x180026c96 pop rsi ; +0x357, 0x180026c97 pop rbx ; +0x358, 0x180026c98 pop rbp ; +0x359, 0x180026c99 retn ; +0x35a, 0x180026c9a call ?_Xlen@?$vector@PEAXV?$allocator@PEAX@std@@@std@@IEBAXXZ_3; std::vector::_Xlen(void) ; +0x35b, 0x180026c9b db 0CCh ; +0x360, 0x180026ca0