; ; cocos2d::CCLiquid::update from 0x18002e220 to 0x18002e439 (537 bytes) ; ; 5 xrefs: ; > @ 0x1800eec28 ; > @ 0x18013df0c ; > @ 0x18013df1c ; > @ 0x18014cf68 ; > @ 0x1801b9f28 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:32 +0000 ; mov r11, rsp ; +0x0, 0x18002e220 mov [r11+20h], rbx ; +0x3, 0x18002e223 push rdi ; +0x7, 0x18002e227 sub rsp, 0F0h ; +0x8, 0x18002e228 movaps xmmword ptr [r11-78h], xmm12 ; +0xf, 0x18002e22f mov rax, cs:__security_cookie ; +0x14, 0x18002e234 xor rax, rsp ; +0x1b, 0x18002e23b mov [rsp+0F8h+var_B0], rax ; +0x1e, 0x18002e23e movss xmm0, dword ptr [rcx+60h] ; +0x23, 0x18002e243 movaps xmm2, xmm1 ; +0x28, 0x18002e248 movss xmm12, cs:flt_1800EC208 ; +0x2b, 0x18002e24b mov rbx, rcx ; +0x34, 0x18002e254 comiss xmm0, xmm12 ; +0x37, 0x18002e257 mov edi, 1 ; +0x3b, 0x18002e25b movss [rsp+0F8h+var_D8], xmm1 ; +0x40, 0x18002e260 jbe loc_18002E416 ; +0x46, 0x18002e266 movss xmm1, dword ptr [rcx+64h] ; +0x4c, 0x18002e26c mov [r11+18h], rsi ; +0x51, 0x18002e271 movaps xmmword ptr [r11-18h], xmm6 ; +0x55, 0x18002e275 movaps xmmword ptr [r11-28h], xmm7 ; +0x5a, 0x18002e27a movaps xmmword ptr [r11-38h], xmm8 ; +0x5f, 0x18002e27f movaps xmmword ptr [r11-48h], xmm9 ; +0x64, 0x18002e284 movaps xmmword ptr [r11-58h], xmm10 ; +0x69, 0x18002e289 movaps xmmword ptr [r11-68h], xmm11 ; +0x6e, 0x18002e28e movaps xmm11, xmm12 ; +0x73, 0x18002e293 movaps [rsp+0F8h+var_88], xmm13 ; +0x77, 0x18002e297 movaps [rsp+0F8h+var_98], xmm14 ; +0x7d, 0x18002e29d movss xmm14, cs:flt_1800EED98 ; +0x83, 0x18002e2a3 movaps [rsp+0F8h+var_A8], xmm15 ; +0x8c, 0x18002e2ac movss xmm15, cs:dword_1800ED6D8 ; +0x92, 0x18002e2b2 nop dword ptr [rax+rax+00h] ; +0x9b, 0x18002e2bb comiss xmm1, xmm12 ; +0xa0, 0x18002e2c0 mov esi, 1 ; +0xa4, 0x18002e2c4 jbe loc_18002E3AE ; +0xa9, 0x18002e2c9 movaps xmm10, xmm2 ; +0xaf, 0x18002e2cf movaps xmm13, xmm12 ; +0xb3, 0x18002e2d3 mulss xmm10, xmm15 ; +0xb7, 0x18002e2d7 nop dword ptr [rax+00h] ; +0xbc, 0x18002e2dc movaps xmm2, xmm13 ; +0xc0, 0x18002e2e0 lea rcx, [rsp+0F8h+var_D4] ; +0xc4, 0x18002e2e4 movaps xmm1, xmm11 ; +0xc9, 0x18002e2e9 call kmVec2Fill ; +0xcd, 0x18002e2ed mov r8, rax ; +0xd2, 0x18002e2f2 lea rdx, [rsp+0F8h+var_C0] ; +0xd5, 0x18002e2f5 mov rcx, rbx ; +0xda, 0x18002e2fa call ?originalVertex@CCGrid3DAction@cocos2d@@QEAA?AU_ccVertex3F@2@AEBVCCPoint@2@@Z; cocos2d::CCGrid3DAction::originalVertex(cocos2d::CCPoint const &) ; +0xdd, 0x18002e2fd mov eax, [rbx+68h] ; +0xe2, 0x18002e302 xorps xmm7, xmm7 ; +0xe5, 0x18002e305 movss xmm6, [rsp+0F8h+var_C0] ; +0xe8, 0x18002e308 movaps xmm0, xmm6 ; +0xee, 0x18002e30e mulss xmm0, xmm14 ; +0xf1, 0x18002e311 cvtsi2ss xmm7, rax ; +0xf6, 0x18002e316 mulss xmm7, xmm10 ; +0xfb, 0x18002e31b addss xmm7, xmm7 ; +0x100, 0x18002e320 addss xmm0, xmm7; X ; +0x104, 0x18002e324 call sinf ; +0x108, 0x18002e328 mulss xmm0, dword ptr [rbx+6Ch] ; +0x10d, 0x18002e32d mulss xmm0, dword ptr [rbx+70h] ; +0x112, 0x18002e332 addss xmm6, xmm0 ; +0x117, 0x18002e337 movss [rsp+0F8h+var_C0], xmm6 ; +0x11b, 0x18002e33b movss xmm6, [rsp+0F8h+var_BC] ; +0x121, 0x18002e341 movaps xmm0, xmm6 ; +0x127, 0x18002e347 mulss xmm0, xmm14 ; +0x12a, 0x18002e34a addss xmm0, xmm7; X ; +0x12f, 0x18002e34f call sinf ; +0x133, 0x18002e353 mulss xmm0, dword ptr [rbx+6Ch] ; +0x138, 0x18002e358 lea rcx, [rsp+0F8h+var_CC] ; +0x13d, 0x18002e35d movaps xmm2, xmm13 ; +0x142, 0x18002e362 movaps xmm1, xmm11 ; +0x146, 0x18002e366 mulss xmm0, dword ptr [rbx+70h] ; +0x14a, 0x18002e36a addss xmm6, xmm0 ; +0x14f, 0x18002e36f movss [rsp+0F8h+var_BC], xmm6 ; +0x153, 0x18002e373 call kmVec2Fill ; +0x159, 0x18002e379 mov rdx, rax; struct cocos2d::CCPoint * ; +0x15e, 0x18002e37e lea r8, [rsp+0F8h+var_C0]; struct cocos2d::_ccVertex3F * ; +0x161, 0x18002e381 mov rcx, rbx; this ; +0x166, 0x18002e386 call ?setVertex@CCGrid3DAction@cocos2d@@QEAAXAEBVCCPoint@2@AEBU_ccVertex3F@2@@Z; cocos2d::CCGrid3DAction::setVertex(cocos2d::CCPoint const &,cocos2d::_ccVertex3F const &) ; +0x169, 0x18002e389 movss xmm1, dword ptr [rbx+64h] ; +0x16e, 0x18002e38e inc esi ; +0x173, 0x18002e393 movd xmm13, esi ; +0x175, 0x18002e395 cvtdq2ps xmm13, xmm13 ; +0x17a, 0x18002e39a comiss xmm1, xmm13 ; +0x17e, 0x18002e39e ja loc_18002E2E0 ; +0x182, 0x18002e3a2 movss xmm2, [rsp+0F8h+var_D8] ; +0x188, 0x18002e3a8 movss xmm0, dword ptr [rbx+60h] ; +0x18e, 0x18002e3ae inc edi ; +0x193, 0x18002e3b3 movd xmm11, edi ; +0x195, 0x18002e3b5 cvtdq2ps xmm11, xmm11 ; +0x19a, 0x18002e3ba comiss xmm0, xmm11 ; +0x19e, 0x18002e3be ja loc_18002E2C0 ; +0x1a2, 0x18002e3c2 movaps xmm15, [rsp+0F8h+var_A8] ; +0x1a8, 0x18002e3c8 movaps xmm14, [rsp+0F8h+var_98] ; +0x1ae, 0x18002e3ce movaps xmm13, [rsp+0F8h+var_88] ; +0x1b4, 0x18002e3d4 movaps xmm11, [rsp+0F8h+var_68] ; +0x1ba, 0x18002e3da movaps xmm10, [rsp+0F8h+var_58] ; +0x1c3, 0x18002e3e3 movaps xmm9, [rsp+0F8h+var_48] ; +0x1cc, 0x18002e3ec movaps xmm8, [rsp+0F8h+var_38] ; +0x1d5, 0x18002e3f5 movaps xmm7, [rsp+0F8h+var_28] ; +0x1de, 0x18002e3fe movaps xmm6, [rsp+0F8h+var_18] ; +0x1e6, 0x18002e406 mov rsi, [rsp+0F8h+arg_10] ; +0x1ee, 0x18002e40e mov rcx, [rsp+0F8h+var_B0] ; +0x1f6, 0x18002e416 xor rcx, rsp; StackCookie ; +0x1fb, 0x18002e41b call __security_check_cookie ; +0x1fe, 0x18002e41e lea r11, [rsp+0F8h+var_8] ; +0x203, 0x18002e423 mov rbx, [r11+28h] ; +0x20b, 0x18002e42b movaps xmm12, xmmword ptr [r11-70h] ; +0x20f, 0x18002e42f mov rsp, r11 ; +0x214, 0x18002e434 pop rdi ; +0x217, 0x18002e437 retn ; +0x218, 0x18002e438