; ; cocos2d::CCRipple3D::update from 0x18002dd50 to 0x18002dfb2 (610 bytes) ; ; 6 xrefs: ; > @ 0x1800e8ab0 ; > @ 0x180134ddc ; > @ 0x180134dec ; > @ 0x1801438a8 ; > @ 0x1801afe2c ; > @ 0x1801afe38 ; ; 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 r11, rsp ; +0x0, 0x18002dd50 push rbx ; +0x3, 0x18002dd53 push rsi ; +0x4, 0x18002dd54 sub rsp, 108h ; +0x5, 0x18002dd55 movaps xmmword ptr [r11-68h], xmm10 ; +0xc, 0x18002dd5c movaps xmmword ptr [r11-88h], xmm12 ; +0x11, 0x18002dd61 movaps xmmword ptr [r11-98h], xmm13 ; +0x19, 0x18002dd69 mov rax, cs:__security_cookie ; +0x21, 0x18002dd71 xor rax, rsp ; +0x28, 0x18002dd78 mov [rsp+118h+var_C8], rax ; +0x2b, 0x18002dd7b movss xmm0, dword ptr [rcx+60h] ; +0x30, 0x18002dd80 xor esi, esi ; +0x35, 0x18002dd85 movss xmm10, cs:flt_1800E61A8 ; +0x37, 0x18002dd87 xorps xmm12, xmm12 ; +0x40, 0x18002dd90 addss xmm0, xmm10 ; +0x44, 0x18002dd94 movaps xmm13, xmm1 ; +0x49, 0x18002dd99 mov rbx, rcx ; +0x4d, 0x18002dd9d comiss xmm0, xmm12 ; +0x50, 0x18002dda0 jbe loc_18002DF85 ; +0x54, 0x18002dda4 mulss xmm13, cs:dword_1800E7670 ; +0x5a, 0x18002ddaa mov [r11+18h], rbp ; +0x63, 0x18002ddb3 mov [r11-18h], rdi ; +0x67, 0x18002ddb7 movaps xmmword ptr [r11-28h], xmm6 ; +0x6b, 0x18002ddbb movaps xmmword ptr [r11-38h], xmm7 ; +0x70, 0x18002ddc0 movaps xmmword ptr [r11-48h], xmm8 ; +0x75, 0x18002ddc5 movaps xmmword ptr [r11-58h], xmm9 ; +0x7a, 0x18002ddca xorps xmm9, xmm9 ; +0x7f, 0x18002ddcf movaps xmmword ptr [r11-78h], xmm11 ; +0x83, 0x18002ddd3 movaps [rsp+118h+var_A8], xmm14 ; +0x88, 0x18002ddd8 movss xmm14, cs:flt_1800E8D34 ; +0x8e, 0x18002ddde movaps [rsp+118h+var_B8], xmm15 ; +0x97, 0x18002dde7 movss xmm15, cs:Y ; +0x9d, 0x18002dded nop word ptr [rax+rax+00000000h] ; +0xa6, 0x18002ddf6 movss xmm0, dword ptr [rbx+64h] ; +0xb0, 0x18002de00 xor edi, edi ; +0xb5, 0x18002de05 addss xmm0, xmm10 ; +0xb7, 0x18002de07 comiss xmm0, xmm12 ; +0xbc, 0x18002de0c jbe loc_18002DF1F ; +0xc0, 0x18002de10 movaps xmm8, xmm12 ; +0xc6, 0x18002de16 nop word ptr [rax+rax+00h] ; +0xca, 0x18002de1a movaps xmm2, xmm8 ; +0xd0, 0x18002de20 lea rcx, [rsp+118h+var_F0] ; +0xd4, 0x18002de24 movaps xmm1, xmm9 ; +0xd9, 0x18002de29 call kmVec2Fill ; +0xdd, 0x18002de2d mov r8, rax ; +0xe2, 0x18002de32 lea rdx, [rsp+118h+var_D8] ; +0xe5, 0x18002de35 mov rcx, rbx ; +0xea, 0x18002de3a call ?originalVertex@CCGrid3DAction@cocos2d@@QEAA?AU_ccVertex3F@2@AEBVCCPoint@2@@Z; cocos2d::CCGrid3DAction::originalVertex(cocos2d::CCPoint const &) ; +0xed, 0x18002de3d movss xmm2, [rsp+118h+var_D4] ; +0xf2, 0x18002de42 lea rcx, [rsp+118h+var_E8] ; +0xf8, 0x18002de48 movss xmm1, [rsp+118h+var_D8] ; +0xfd, 0x18002de4d call kmVec2Fill ; +0x103, 0x18002de53 mov r8, rax ; +0x108, 0x18002de58 lea rdx, [rsp+118h+var_F8] ; +0x10b, 0x18002de5b lea rcx, [rbx+68h] ; +0x110, 0x18002de60 call ??GCCSize@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCSize::operator-(cocos2d::CCSize const &) ; +0x114, 0x18002de64 lea rcx, [rsp+118h+var_F8]; this ; +0x119, 0x18002de69 call ?getLength@CCPoint@cocos2d@@QEBAMXZ; cocos2d::CCPoint::getLength(void) ; +0x11e, 0x18002de6e movss xmm11, dword ptr [rbx+70h] ; +0x123, 0x18002de73 comiss xmm11, xmm0 ; +0x129, 0x18002de79 jbe short loc_18002DEDE ; +0x12d, 0x18002de7d mov eax, [rbx+74h] ; +0x12f, 0x18002de7f movaps xmm7, xmm11 ; +0x132, 0x18002de82 subss xmm7, xmm0 ; +0x136, 0x18002de86 xorps xmm0, xmm0 ; +0x13a, 0x18002de8a cvtsi2ss xmm0, rax ; +0x13d, 0x18002de8d movaps xmm1, xmm7 ; +0x142, 0x18002de92 mulss xmm1, xmm14 ; +0x145, 0x18002de95 mulss xmm0, xmm13 ; +0x14a, 0x18002de9a addss xmm0, xmm0 ; +0x14f, 0x18002de9f addss xmm0, xmm1; X ; +0x153, 0x18002dea3 call sinf ; +0x157, 0x18002dea7 movaps xmm6, xmm0 ; +0x15c, 0x18002deac movaps xmm1, xmm15; Y ; +0x15f, 0x18002deaf mulss xmm6, dword ptr [rbx+78h] ; +0x163, 0x18002deb3 divss xmm7, xmm11 ; +0x168, 0x18002deb8 mulss xmm6, dword ptr [rbx+7Ch] ; +0x16d, 0x18002debd movaps xmm0, xmm7; X ; +0x172, 0x18002dec2 call powf ; +0x175, 0x18002dec5 movss xmm1, [rsp+118h+var_D0] ; +0x17a, 0x18002deca mulss xmm6, xmm0 ; +0x180, 0x18002ded0 addss xmm1, xmm6 ; +0x184, 0x18002ded4 movss [rsp+118h+var_D0], xmm1 ; +0x188, 0x18002ded8 movaps xmm2, xmm8 ; +0x18e, 0x18002dede lea rcx, [rsp+118h+var_E0] ; +0x192, 0x18002dee2 movaps xmm1, xmm9 ; +0x197, 0x18002dee7 call kmVec2Fill ; +0x19b, 0x18002deeb mov rdx, rax; struct cocos2d::CCPoint * ; +0x1a0, 0x18002def0 lea r8, [rsp+118h+var_D8]; struct cocos2d::_ccVertex3F * ; +0x1a3, 0x18002def3 mov rcx, rbx; this ; +0x1a8, 0x18002def8 call ?setVertex@CCGrid3DAction@cocos2d@@QEAAXAEBVCCPoint@2@AEBU_ccVertex3F@2@@Z; cocos2d::CCGrid3DAction::setVertex(cocos2d::CCPoint const &,cocos2d::_ccVertex3F const &) ; +0x1ab, 0x18002defb movss xmm0, dword ptr [rbx+64h] ; +0x1b0, 0x18002df00 inc edi ; +0x1b5, 0x18002df05 addss xmm0, xmm10 ; +0x1b7, 0x18002df07 movd xmm8, edi ; +0x1bc, 0x18002df0c cvtdq2ps xmm8, xmm8 ; +0x1c1, 0x18002df11 comiss xmm0, xmm8 ; +0x1c5, 0x18002df15 ja loc_18002DE20 ; +0x1c9, 0x18002df19 movss xmm0, dword ptr [rbx+60h] ; +0x1cf, 0x18002df1f inc esi ; +0x1d4, 0x18002df24 addss xmm0, xmm10 ; +0x1d6, 0x18002df26 movd xmm9, esi ; +0x1db, 0x18002df2b cvtdq2ps xmm9, xmm9 ; +0x1e0, 0x18002df30 comiss xmm0, xmm9 ; +0x1e4, 0x18002df34 ja loc_18002DE00 ; +0x1e8, 0x18002df38 movaps xmm15, [rsp+118h+var_B8] ; +0x1ee, 0x18002df3e movaps xmm14, [rsp+118h+var_A8] ; +0x1f4, 0x18002df44 movaps xmm11, [rsp+118h+var_78] ; +0x1fa, 0x18002df4a movaps xmm9, [rsp+118h+var_58] ; +0x203, 0x18002df53 movaps xmm8, [rsp+118h+var_48] ; +0x20c, 0x18002df5c movaps xmm7, [rsp+118h+var_38] ; +0x215, 0x18002df65 movaps xmm6, [rsp+118h+var_28] ; +0x21d, 0x18002df6d mov rdi, [rsp+118h+var_18] ; +0x225, 0x18002df75 mov rbp, [rsp+118h+arg_10] ; +0x22d, 0x18002df7d mov rcx, [rsp+118h+var_C8] ; +0x235, 0x18002df85 xor rcx, rsp; StackCookie ; +0x23a, 0x18002df8a call __security_check_cookie ; +0x23d, 0x18002df8d lea r11, [rsp+118h+var_10] ; +0x242, 0x18002df92 movaps xmm10, xmmword ptr [r11-58h] ; +0x24a, 0x18002df9a movaps xmm12, xmmword ptr [r11-78h] ; +0x24f, 0x18002df9f movaps xmm13, xmmword ptr [r11-88h] ; +0x254, 0x18002dfa4 mov rsp, r11 ; +0x25c, 0x18002dfac pop rsi ; +0x25f, 0x18002dfaf pop rbx ; +0x260, 0x18002dfb0 retn ; +0x261, 0x18002dfb1