{"type": "func", "start": 6442696320, "end": 6442696855, "name": "cocos2d::CCJumpTiles3D::update", "pseudocode": "// \n// cocos2d::CCJumpTiles3D::update from 0x18003be80 to 0x18003c097 (535 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800ea780\n// > <???> @ 0x180136968\n// > <???> @ 0x18013698c\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0fb4\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCJumpTiles3D::update(cocos2d::CCJumpTiles3D *this, float a2)\n{\n  float v3; // xmm10_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  const struct cocos2d::CCPoint *v13; // rax\n  float v14; // [rsp+20h] [rbp-B8h] BYREF\n  float v15; // [rsp+28h] [rbp-B0h] BYREF\n  __int128 v16; // [rsp+30h] [rbp-A8h] BYREF\n  float v17; // [rsp+44h] [rbp-94h]\n  float v18; // [rsp+50h] [rbp-88h]\n  float v19; // [rsp+5Ch] [rbp-7Ch]\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 = (const struct cocos2d::CCPoint *)kmVec2Fill(&v15, v7, v9);\n          cocos2d::CCTiledGrid3DAction::setTile(this, v13, (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 0x18003be80 to 0x18003c097 (535 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800ea780\n; > <???> @ 0x180136968\n; > <???> @ 0x18013698c\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0fb4\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     r11, rsp                                                       ; +0x0, 0x18003be80\nmov     [r11+20h], rsi                                                 ; +0x3, 0x18003be83\npush    rdi                                                            ; +0x7, 0x18003be87\nsub     rsp, 0D0h                                                      ; +0x8, 0x18003be88\nmovaps  xmmword ptr [r11-18h], xmm6                                    ; +0xf, 0x18003be8f\nmovaps  xmmword ptr [r11-28h], xmm7                                    ; +0x14, 0x18003be94\nmovaps  xmmword ptr [r11-38h], xmm8                                    ; +0x19, 0x18003be99\nmovaps  xmmword ptr [r11-48h], xmm9                                    ; +0x1e, 0x18003be9e\nmovaps  xmmword ptr [r11-68h], xmm11                                   ; +0x23, 0x18003bea3\nmov     rax, cs:__security_cookie                                      ; +0x28, 0x18003bea8\nxor     rax, rsp                                                       ; +0x2f, 0x18003beaf\nmov     [rsp+0D8h+var_78], rax                                         ; +0x32, 0x18003beb2\nmov     eax, [rcx+68h]                                                 ; +0x37, 0x18003beb7\nmovaps  xmm0, xmm1                                                     ; +0x3a, 0x18003beba\nmulss   xmm0, cs:dword_1800E7670                                       ; +0x3d, 0x18003bebd\nmovaps  xmm9, xmm1                                                     ; +0x45, 0x18003bec5\nmov     rdi, rcx                                                       ; +0x49, 0x18003bec9\nmovaps  xmmword ptr [r11-58h], xmm10                                   ; +0x4c, 0x18003becc\nxorps   xmm10, xmm10                                                   ; +0x51, 0x18003bed1\ncvtsi2ss xmm10, rax                                                    ; +0x55, 0x18003bed5\nmulss   xmm0, xmm10                                                    ; +0x5a, 0x18003beda\naddss   xmm0, xmm0; X                                                  ; +0x5f, 0x18003bedf\ncall    sinf                                                           ; +0x63, 0x18003bee3\nmulss   xmm10, xmm9                                                    ; +0x68, 0x18003bee8\nmovaps  xmm11, xmm0                                                    ; +0x6d, 0x18003beed\nmulss   xmm11, dword ptr [rdi+6Ch]                                     ; +0x71, 0x18003bef1\naddss   xmm10, xmm10                                                   ; +0x77, 0x18003bef7\nmulss   xmm11, dword ptr [rdi+70h]                                     ; +0x7c, 0x18003befc\naddss   xmm10, cs:flt_1800E61A8                                        ; +0x82, 0x18003bf02\nmulss   xmm10, cs:dword_1800E7670                                      ; +0x8b, 0x18003bf0b\nmovaps  xmm0, xmm10; X                                                 ; +0x94, 0x18003bf14\ncall    sinf                                                           ; +0x98, 0x18003bf18\nmovss   xmm1, dword ptr [rdi+60h]                                      ; +0x9d, 0x18003bf1d\nmovaps  xmm7, xmm0                                                     ; +0xa2, 0x18003bf22\nmulss   xmm7, dword ptr [rdi+6Ch]                                      ; +0xa5, 0x18003bf25\nxor     esi, esi                                                       ; +0xaa, 0x18003bf2a\nmovaps  xmm10, [rsp+0D8h+var_58]                                       ; +0xac, 0x18003bf2c\nxorps   xmm9, xmm9                                                     ; +0xb5, 0x18003bf35\ncomiss  xmm1, xmm9                                                     ; +0xb9, 0x18003bf39\nmulss   xmm7, dword ptr [rdi+70h]                                      ; +0xbd, 0x18003bf3d\njbe     loc_18003C060                                                  ; +0xc2, 0x18003bf42\nmov     [rsp+0D8h+arg_10], rbx                                         ; +0xc8, 0x18003bf48\nxorps   xmm8, xmm8                                                     ; +0xd0, 0x18003bf50\nmovss   xmm0, dword ptr [rdi+64h]                                      ; +0xd4, 0x18003bf54\nxor     ebx, ebx                                                       ; +0xd9, 0x18003bf59\ncomiss  xmm0, xmm9                                                     ; +0xdb, 0x18003bf5b\njbe     loc_18003C03E                                                  ; +0xdf, 0x18003bf5f\nmovaps  xmm6, xmm9                                                     ; +0xe5, 0x18003bf65\nnop     dword ptr [rax+00000000h]                                      ; +0xe9, 0x18003bf69\nmovaps  xmm2, xmm6                                                     ; +0xf0, 0x18003bf70\nlea     rcx, [rsp+0D8h+var_B8]                                         ; +0xf3, 0x18003bf73\nmovaps  xmm1, xmm8                                                     ; +0xf8, 0x18003bf78\ncall    kmVec2Fill                                                     ; +0xfc, 0x18003bf7c\nmov     r8, rax                                                        ; +0x101, 0x18003bf81\nlea     rdx, [rsp+0D8h+var_A8]                                         ; +0x104, 0x18003bf84\nmov     rcx, rdi                                                       ; +0x109, 0x18003bf89\ncall    ?originalTile@CCTiledGrid3DAction@cocos2d@@QEAA?AU_ccQuad3@2@AEBVCCPoint@2@@Z; cocos2d::CCTiledGrid3DAction::originalTile(cocos2d::CCPoint const &) ; +0x10c, 0x18003bf8c\nmovss   xmm0, [rsp+0D8h+var_A0]                                        ; +0x111, 0x18003bf91\nlea     eax, [rbx+rsi]                                                 ; +0x117, 0x18003bf97\nmovss   xmm1, [rsp+0D8h+var_94]                                        ; +0x11a, 0x18003bf9a\ntest    al, 1                                                          ; +0x120, 0x18003bfa0\njnz     short loc_18003BFD2                                            ; +0x122, 0x18003bfa2\naddss   xmm0, xmm11                                                    ; +0x124, 0x18003bfa4\naddss   xmm1, xmm11                                                    ; +0x129, 0x18003bfa9\nmovss   [rsp+0D8h+var_A0], xmm0                                        ; +0x12e, 0x18003bfae\nmovss   xmm0, [rsp+0D8h+var_88]                                        ; +0x134, 0x18003bfb4\nmovss   [rsp+0D8h+var_94], xmm1                                        ; +0x13a, 0x18003bfba\naddss   xmm0, xmm11                                                    ; +0x140, 0x18003bfc0\nmovss   xmm1, [rsp+0D8h+var_7C]                                        ; +0x145, 0x18003bfc5\naddss   xmm1, xmm11                                                    ; +0x14b, 0x18003bfcb\njmp     short loc_18003BFFA                                            ; +0x150, 0x18003bfd0\naddss   xmm0, xmm7                                                     ; +0x152, 0x18003bfd2\naddss   xmm1, xmm7                                                     ; +0x156, 0x18003bfd6\nmovss   [rsp+0D8h+var_A0], xmm0                                        ; +0x15a, 0x18003bfda\nmovss   xmm0, [rsp+0D8h+var_88]                                        ; +0x160, 0x18003bfe0\nmovss   [rsp+0D8h+var_94], xmm1                                        ; +0x166, 0x18003bfe6\naddss   xmm0, xmm7                                                     ; +0x16c, 0x18003bfec\nmovss   xmm1, [rsp+0D8h+var_7C]                                        ; +0x170, 0x18003bff0\naddss   xmm1, xmm7                                                     ; +0x176, 0x18003bff6\nmovss   [rsp+0D8h+var_7C], xmm1                                        ; +0x17a, 0x18003bffa\nlea     rcx, [rsp+0D8h+var_B0]                                         ; +0x180, 0x18003c000\nmovaps  xmm1, xmm8                                                     ; +0x185, 0x18003c005\nmovss   [rsp+0D8h+var_88], xmm0                                        ; +0x189, 0x18003c009\nmovaps  xmm2, xmm6                                                     ; +0x18f, 0x18003c00f\ncall    kmVec2Fill                                                     ; +0x192, 0x18003c012\nmov     rdx, rax; struct cocos2d::CCPoint *                            ; +0x197, 0x18003c017\nlea     r8, [rsp+0D8h+var_A8]; struct cocos2d::_ccQuad3 *              ; +0x19a, 0x18003c01a\nmov     rcx, rdi; this                                                 ; +0x19f, 0x18003c01f\ncall    ?setTile@CCTiledGrid3DAction@cocos2d@@QEAAXAEBVCCPoint@2@AEBU_ccQuad3@2@@Z; cocos2d::CCTiledGrid3DAction::setTile(cocos2d::CCPoint const &,cocos2d::_ccQuad3 const &) ; +0x1a2, 0x18003c022\nmovss   xmm0, dword ptr [rdi+64h]                                      ; +0x1a7, 0x18003c027\ninc     ebx                                                            ; +0x1ac, 0x18003c02c\nmovd    xmm6, ebx                                                      ; +0x1ae, 0x18003c02e\ncvtdq2ps xmm6, xmm6                                                    ; +0x1b2, 0x18003c032\ncomiss  xmm0, xmm6                                                     ; +0x1b5, 0x18003c035\nja      loc_18003BF70                                                  ; +0x1b8, 0x18003c038\nmovss   xmm0, dword ptr [rdi+60h]                                      ; +0x1be, 0x18003c03e\ninc     esi                                                            ; +0x1c3, 0x18003c043\nmovd    xmm8, esi                                                      ; +0x1c5, 0x18003c045\ncvtdq2ps xmm8, xmm8                                                    ; +0x1ca, 0x18003c04a\ncomiss  xmm0, xmm8                                                     ; +0x1ce, 0x18003c04e\nja      loc_18003BF54                                                  ; +0x1d2, 0x18003c052\nmov     rbx, [rsp+0D8h+arg_10]                                         ; +0x1d8, 0x18003c058\nmov     rcx, [rsp+0D8h+var_78]                                         ; +0x1e0, 0x18003c060\nxor     rcx, rsp; StackCookie                                          ; +0x1e5, 0x18003c065\ncall    __security_check_cookie                                        ; +0x1e8, 0x18003c068\nlea     r11, [rsp+0D8h+var_8]                                          ; +0x1ed, 0x18003c06d\nmov     rsi, [r11+28h]                                                 ; +0x1f5, 0x18003c075\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x1f9, 0x18003c079\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x1fe, 0x18003c07e\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0x203, 0x18003c083\nmovaps  xmm9, xmmword ptr [r11-40h]                                    ; +0x208, 0x18003c088\nmovaps  xmm11, xmmword ptr [r11-60h]                                   ; +0x20d, 0x18003c08d\nmov     rsp, r11                                                       ; +0x212, 0x18003c092\npop     rdi                                                            ; +0x215, 0x18003c095\nretn                                                                   ; +0x216, 0x18003c096", "xrefs": ["<???> @ 0x1800ea780", "<???> @ 0x180136968", "<???> @ 0x18013698c", "<???> @ 0x1801438a8", "<???> @ 0x1801b0fb4"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}