{"type": "func", "start": 6442698160, "end": 6442698679, "name": "cocos2d::CCJumpTiles3D::update", "pseudocode": "// \n// cocos2d::CCJumpTiles3D::update from 0x18003c5b0 to 0x18003c7b7 (519 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800f07e0\n// > <???> @ 0x18013f974\n// > <???> @ 0x18013f984\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb0e0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:37 +0000\n// \n\nvoid __fastcall cocos2d::CCJumpTiles3D::update(cocos2d::CCJumpTiles3D *this, float a2)\n{\n  float v3; // xmm7_4\n  float v4; // xmm11_4\n  int v5; // esi\n  float v6; // xmm7_4\n  float v7; // xmm8_4\n  int v8; // ebx\n  float v9; // xmm6_4\n  float *v10; // rax\n  float v11; // xmm0_4\n  float v12; // xmm1_4\n  float *v13; // rax\n  float v14; // [rsp+20h] [rbp-A8h] BYREF\n  float v15; // [rsp+28h] [rbp-A0h] BYREF\n  __int128 v16; // [rsp+30h] [rbp-98h] BYREF\n  float v17; // [rsp+44h] [rbp-84h]\n  float v18; // [rsp+50h] [rbp-78h]\n  float v19; // [rsp+5Ch] [rbp-6Ch]\n\n  v3 = (float)*((int *)this + 26);\n  v4 = (float)(sinf((float)((float)(a2 * 3.1415927) * v3) + (float)((float)(a2 * 3.1415927) * v3))\n             * *((float *)this + 27))\n     * *((float *)this + 28);\n  v5 = 0;\n  v6 = (float)(sinf((float)((float)((float)(v3 * a2) + (float)(v3 * a2)) + 1.0) * 3.1415927) * *((float *)this + 27))\n     * *((float *)this + 28);\n  if ( *((float *)this + 24) > 0.0 )\n  {\n    v7 = 0.0;\n    do\n    {\n      v8 = 0;\n      if ( *((float *)this + 25) > 0.0 )\n      {\n        v9 = 0.0;\n        do\n        {\n          v10 = kmVec2Fill(&v14, v7, v9);\n          cocos2d::CCTiledGrid3DAction::originalTile((__int64)this, &v16, v10);\n          if ( (((_BYTE)v8 + (_BYTE)v5) & 1) != 0 )\n          {\n            *((float *)&v16 + 2) = *((float *)&v16 + 2) + v6;\n            v17 = v17 + v6;\n            v11 = v18 + v6;\n            v12 = v19 + v6;\n          }\n          else\n          {\n            *((float *)&v16 + 2) = *((float *)&v16 + 2) + v4;\n            v17 = v17 + v4;\n            v11 = v18 + v4;\n            v12 = v19 + v4;\n          }\n          v19 = v12;\n          v18 = v11;\n          v13 = kmVec2Fill(&v15, v7, v9);\n          cocos2d::CCTiledGrid3DAction::setTile(\n            this,\n            (const struct cocos2d::CCPoint *)v13,\n            (const struct cocos2d::_ccQuad3 *)&v16);\n          v9 = (float)++v8;\n        }\n        while ( *((float *)this + 25) > (float)v8 );\n      }\n      v7 = (float)++v5;\n    }\n    while ( *((float *)this + 24) > (float)v5 );\n  }\n}", "assembly": "; \n; cocos2d::CCJumpTiles3D::update from 0x18003c5b0 to 0x18003c7b7 (519 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800f07e0\n; > <???> @ 0x18013f974\n; > <???> @ 0x18013f984\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb0e0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:37 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x18003c5b0\nmov     [rax+20h], rsi                                                 ; +0x3, 0x18003c5b3\npush    rdi                                                            ; +0x7, 0x18003c5b7\nsub     rsp, 0C0h                                                      ; +0x8, 0x18003c5b8\nmovaps  xmmword ptr [rax-18h], xmm6                                    ; +0xf, 0x18003c5bf\nmovaps  xmmword ptr [rax-28h], xmm7                                    ; +0x13, 0x18003c5c3\nmovaps  xmmword ptr [rax-38h], xmm8                                    ; +0x17, 0x18003c5c7\nmovaps  xmmword ptr [rax-48h], xmm9                                    ; +0x1c, 0x18003c5cc\nmovaps  xmmword ptr [rax-58h], xmm11                                   ; +0x21, 0x18003c5d1\nmov     rax, cs:__security_cookie                                      ; +0x26, 0x18003c5d6\nxor     rax, rsp                                                       ; +0x2d, 0x18003c5dd\nmov     [rsp+0C8h+var_68], rax                                         ; +0x30, 0x18003c5e0\nmov     eax, [rcx+68h]                                                 ; +0x35, 0x18003c5e5\nxorps   xmm7, xmm7                                                     ; +0x38, 0x18003c5e8\nmovaps  xmm0, xmm1                                                     ; +0x3b, 0x18003c5eb\nmovaps  xmm8, xmm1                                                     ; +0x3e, 0x18003c5ee\nmulss   xmm0, cs:dword_1800ED6D8                                       ; +0x42, 0x18003c5f2\nmov     rdi, rcx                                                       ; +0x4a, 0x18003c5fa\ncvtsi2ss xmm7, rax                                                     ; +0x4d, 0x18003c5fd\nmulss   xmm0, xmm7                                                     ; +0x52, 0x18003c602\naddss   xmm0, xmm0; X                                                  ; +0x56, 0x18003c606\ncall    sinf                                                           ; +0x5a, 0x18003c60a\nmulss   xmm7, xmm8                                                     ; +0x5f, 0x18003c60f\nmovaps  xmm11, xmm0                                                    ; +0x64, 0x18003c614\nmulss   xmm11, dword ptr [rdi+6Ch]                                     ; +0x68, 0x18003c618\naddss   xmm7, xmm7                                                     ; +0x6e, 0x18003c61e\nmulss   xmm11, dword ptr [rdi+70h]                                     ; +0x72, 0x18003c622\naddss   xmm7, cs:flt_1800EC208                                         ; +0x78, 0x18003c628\nmulss   xmm7, cs:dword_1800ED6D8                                       ; +0x80, 0x18003c630\nmovaps  xmm0, xmm7; X                                                  ; +0x88, 0x18003c638\ncall    sinf                                                           ; +0x8b, 0x18003c63b\nmovss   xmm1, dword ptr [rdi+60h]                                      ; +0x90, 0x18003c640\nmovaps  xmm7, xmm0                                                     ; +0x95, 0x18003c645\nmulss   xmm7, dword ptr [rdi+6Ch]                                      ; +0x98, 0x18003c648\nxor     esi, esi                                                       ; +0x9d, 0x18003c64d\nxorps   xmm9, xmm9                                                     ; +0x9f, 0x18003c64f\ncomiss  xmm1, xmm9                                                     ; +0xa3, 0x18003c653\nmulss   xmm7, dword ptr [rdi+70h]                                      ; +0xa7, 0x18003c657\njbe     loc_18003C780                                                  ; +0xac, 0x18003c65c\nmov     [rsp+0C8h+arg_10], rbx                                         ; +0xb2, 0x18003c662\nxorps   xmm8, xmm8                                                     ; +0xba, 0x18003c66a\nxchg    ax, ax                                                         ; +0xbe, 0x18003c66e\nmovss   xmm0, dword ptr [rdi+64h]                                      ; +0xc0, 0x18003c670\nxor     ebx, ebx                                                       ; +0xc5, 0x18003c675\ncomiss  xmm0, xmm9                                                     ; +0xc7, 0x18003c677\njbe     loc_18003C75E                                                  ; +0xcb, 0x18003c67b\nmovaps  xmm6, xmm9                                                     ; +0xd1, 0x18003c681\nnop     word ptr [rax+rax+00000000h]                                   ; +0xd5, 0x18003c685\nmovaps  xmm2, xmm6                                                     ; +0xe0, 0x18003c690\nlea     rcx, [rsp+0C8h+var_A8]                                         ; +0xe3, 0x18003c693\nmovaps  xmm1, xmm8                                                     ; +0xe8, 0x18003c698\ncall    kmVec2Fill                                                     ; +0xec, 0x18003c69c\nmov     r8, rax                                                        ; +0xf1, 0x18003c6a1\nlea     rdx, [rsp+0C8h+var_98]                                         ; +0xf4, 0x18003c6a4\nmov     rcx, rdi                                                       ; +0xf9, 0x18003c6a9\ncall    ?originalTile@CCTiledGrid3DAction@cocos2d@@QEAA?AU_ccQuad3@2@AEBVCCPoint@2@@Z; cocos2d::CCTiledGrid3DAction::originalTile(cocos2d::CCPoint const &) ; +0xfc, 0x18003c6ac\nmovss   xmm0, [rsp+0C8h+var_90]                                        ; +0x101, 0x18003c6b1\nlea     eax, [rbx+rsi]                                                 ; +0x107, 0x18003c6b7\nmovss   xmm1, [rsp+0C8h+var_84]                                        ; +0x10a, 0x18003c6ba\ntest    al, 1                                                          ; +0x110, 0x18003c6c0\njnz     short loc_18003C6F2                                            ; +0x112, 0x18003c6c2\naddss   xmm0, xmm11                                                    ; +0x114, 0x18003c6c4\naddss   xmm1, xmm11                                                    ; +0x119, 0x18003c6c9\nmovss   [rsp+0C8h+var_90], xmm0                                        ; +0x11e, 0x18003c6ce\nmovss   xmm0, [rsp+0C8h+var_78]                                        ; +0x124, 0x18003c6d4\nmovss   [rsp+0C8h+var_84], xmm1                                        ; +0x12a, 0x18003c6da\naddss   xmm0, xmm11                                                    ; +0x130, 0x18003c6e0\nmovss   xmm1, [rsp+0C8h+var_6C]                                        ; +0x135, 0x18003c6e5\naddss   xmm1, xmm11                                                    ; +0x13b, 0x18003c6eb\njmp     short loc_18003C71A                                            ; +0x140, 0x18003c6f0\naddss   xmm0, xmm7                                                     ; +0x142, 0x18003c6f2\naddss   xmm1, xmm7                                                     ; +0x146, 0x18003c6f6\nmovss   [rsp+0C8h+var_90], xmm0                                        ; +0x14a, 0x18003c6fa\nmovss   xmm0, [rsp+0C8h+var_78]                                        ; +0x150, 0x18003c700\nmovss   [rsp+0C8h+var_84], xmm1                                        ; +0x156, 0x18003c706\naddss   xmm0, xmm7                                                     ; +0x15c, 0x18003c70c\nmovss   xmm1, [rsp+0C8h+var_6C]                                        ; +0x160, 0x18003c710\naddss   xmm1, xmm7                                                     ; +0x166, 0x18003c716\nmovss   [rsp+0C8h+var_6C], xmm1                                        ; +0x16a, 0x18003c71a\nlea     rcx, [rsp+0C8h+var_A0]                                         ; +0x170, 0x18003c720\nmovaps  xmm1, xmm8                                                     ; +0x175, 0x18003c725\nmovss   [rsp+0C8h+var_78], xmm0                                        ; +0x179, 0x18003c729\nmovaps  xmm2, xmm6                                                     ; +0x17f, 0x18003c72f\ncall    kmVec2Fill                                                     ; +0x182, 0x18003c732\nmov     rdx, rax; struct cocos2d::CCPoint *                            ; +0x187, 0x18003c737\nlea     r8, [rsp+0C8h+var_98]; struct cocos2d::_ccQuad3 *              ; +0x18a, 0x18003c73a\nmov     rcx, rdi; this                                                 ; +0x18f, 0x18003c73f\ncall    ?setTile@CCTiledGrid3DAction@cocos2d@@QEAAXAEBVCCPoint@2@AEBU_ccQuad3@2@@Z; cocos2d::CCTiledGrid3DAction::setTile(cocos2d::CCPoint const &,cocos2d::_ccQuad3 const &) ; +0x192, 0x18003c742\nmovss   xmm0, dword ptr [rdi+64h]                                      ; +0x197, 0x18003c747\ninc     ebx                                                            ; +0x19c, 0x18003c74c\nmovd    xmm6, ebx                                                      ; +0x19e, 0x18003c74e\ncvtdq2ps xmm6, xmm6                                                    ; +0x1a2, 0x18003c752\ncomiss  xmm0, xmm6                                                     ; +0x1a5, 0x18003c755\nja      loc_18003C690                                                  ; +0x1a8, 0x18003c758\nmovss   xmm0, dword ptr [rdi+60h]                                      ; +0x1ae, 0x18003c75e\ninc     esi                                                            ; +0x1b3, 0x18003c763\nmovd    xmm8, esi                                                      ; +0x1b5, 0x18003c765\ncvtdq2ps xmm8, xmm8                                                    ; +0x1ba, 0x18003c76a\ncomiss  xmm0, xmm8                                                     ; +0x1be, 0x18003c76e\nja      loc_18003C670                                                  ; +0x1c2, 0x18003c772\nmov     rbx, [rsp+0C8h+arg_10]                                         ; +0x1c8, 0x18003c778\nmov     rcx, [rsp+0C8h+var_68]                                         ; +0x1d0, 0x18003c780\nxor     rcx, rsp; StackCookie                                          ; +0x1d5, 0x18003c785\ncall    __security_check_cookie                                        ; +0x1d8, 0x18003c788\nlea     r11, [rsp+0C8h+var_8]                                          ; +0x1dd, 0x18003c78d\nmov     rsi, [r11+28h]                                                 ; +0x1e5, 0x18003c795\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x1e9, 0x18003c799\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x1ee, 0x18003c79e\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0x1f3, 0x18003c7a3\nmovaps  xmm9, xmmword ptr [r11-40h]                                    ; +0x1f8, 0x18003c7a8\nmovaps  xmm11, xmmword ptr [r11-50h]                                   ; +0x1fd, 0x18003c7ad\nmov     rsp, r11                                                       ; +0x202, 0x18003c7b2\npop     rdi                                                            ; +0x205, 0x18003c7b5\nretn                                                                   ; +0x206, 0x18003c7b6", "xrefs": ["<???> @ 0x1800f07e0", "<???> @ 0x18013f974", "<???> @ 0x18013f984", "<???> @ 0x18014cf68", "<???> @ 0x1801bb0e0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}