{"type": "func", "start": 6442695152, "end": 6442695432, "name": "cocos2d::CCShuffleTiles::placeTile", "pseudocode": "// \n// cocos2d::CCShuffleTiles::placeTile from 0x18003b9f0 to 0x18003bb08 (280 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bb020\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::CCShuffleTiles::placeTile(\n        cocos2d::CCShuffleTiles *this,\n        const struct cocos2d::CCPoint *a2,\n        struct cocos2d::Tile *a3)\n{\n  __int64 v6; // rax\n  float v7; // xmm3_4\n  float v8; // xmm2_4\n  float v9[2]; // [rsp+20h] [rbp-58h] BYREF\n  __int128 v10; // [rsp+28h] [rbp-50h] BYREF\n  float v11; // [rsp+38h] [rbp-40h]\n  float v12; // [rsp+40h] [rbp-38h]\n  float v13; // [rsp+44h] [rbp-34h]\n  float v14; // [rsp+4Ch] [rbp-2Ch]\n  float v15; // [rsp+50h] [rbp-28h]\n\n  cocos2d::CCTiledGrid3DAction::originalTile((__int64)this, &v10, (float *)a2);\n  v6 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 8) + 600LL))(*((_QWORD *)this + 8));\n  cocos2d::cc_timeval::operator=(v9, (_DWORD *)(v6 + 80));\n  v7 = (float)(int)(float)(v9[0] * *(float *)a3);\n  v8 = (float)(int)(float)(v9[1] * *((float *)a3 + 1));\n  *(float *)&v10 = *(float *)&v10 + v7;\n  *((float *)&v10 + 3) = *((float *)&v10 + 3) + v7;\n  *((float *)&v10 + 1) = *((float *)&v10 + 1) + v8;\n  v12 = v12 + v7;\n  v11 = v11 + v8;\n  v14 = v14 + v7;\n  v13 = v13 + v8;\n  v15 = v15 + v8;\n  cocos2d::CCTiledGrid3DAction::setTile(this, a2, (const struct cocos2d::_ccQuad3 *)&v10);\n}", "assembly": "; \n; cocos2d::CCShuffleTiles::placeTile from 0x18003b9f0 to 0x18003bb08 (280 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bb020\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; \npush    rbx                                                            ; +0x0, 0x18003b9f0\npush    rsi                                                            ; +0x2, 0x18003b9f2\npush    rdi                                                            ; +0x3, 0x18003b9f3\nsub     rsp, 60h                                                       ; +0x4, 0x18003b9f4\nmov     rax, cs:__security_cookie                                      ; +0x8, 0x18003b9f8\nxor     rax, rsp                                                       ; +0xf, 0x18003b9ff\nmov     [rsp+78h+var_20], rax                                          ; +0x12, 0x18003ba02\nmov     rbx, r8                                                        ; +0x17, 0x18003ba07\nmov     rsi, rdx                                                       ; +0x1a, 0x18003ba0a\nmov     r8, rdx                                                        ; +0x1d, 0x18003ba0d\nmov     rdi, rcx                                                       ; +0x20, 0x18003ba10\nlea     rdx, [rsp+78h+var_50]                                          ; +0x23, 0x18003ba13\ncall    ?originalTile@CCTiledGrid3DAction@cocos2d@@QEAA?AU_ccQuad3@2@AEBVCCPoint@2@@Z; cocos2d::CCTiledGrid3DAction::originalTile(cocos2d::CCPoint const &) ; +0x28, 0x18003ba18\nmov     rcx, [rdi+40h]                                                 ; +0x2d, 0x18003ba1d\nmov     rax, [rcx]                                                     ; +0x31, 0x18003ba21\ncall    qword ptr [rax+258h]                                           ; +0x34, 0x18003ba24\nlea     rcx, [rsp+78h+var_58]                                          ; +0x3a, 0x18003ba2a\nlea     rdx, [rax+50h]                                                 ; +0x3f, 0x18003ba2f\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x43, 0x18003ba33\nmovss   xmm1, [rsp+78h+var_50]                                         ; +0x48, 0x18003ba38\nlea     r8, [rsp+78h+var_50]; struct cocos2d::_ccQuad3 *               ; +0x4e, 0x18003ba3e\nmovss   xmm0, [rsp+78h+var_58]                                         ; +0x53, 0x18003ba43\nmov     rdx, rsi; struct cocos2d::CCPoint *                            ; +0x59, 0x18003ba49\nmulss   xmm0, dword ptr [rbx]                                          ; +0x5c, 0x18003ba4c\nmov     rcx, rdi; this                                                 ; +0x60, 0x18003ba50\ncvttss2si eax, xmm0                                                    ; +0x63, 0x18003ba53\nmovss   xmm0, [rsp+78h+var_54]                                         ; +0x67, 0x18003ba57\nmulss   xmm0, dword ptr [rbx+4]                                        ; +0x6d, 0x18003ba5d\nmovd    xmm3, eax                                                      ; +0x72, 0x18003ba62\ncvttss2si eax, xmm0                                                    ; +0x76, 0x18003ba66\nmovss   xmm0, [rsp+78h+var_44]                                         ; +0x7a, 0x18003ba6a\ncvtdq2ps xmm3, xmm3                                                    ; +0x80, 0x18003ba70\nmovd    xmm2, eax                                                      ; +0x83, 0x18003ba73\naddss   xmm1, xmm3                                                     ; +0x87, 0x18003ba77\naddss   xmm0, xmm3                                                     ; +0x8b, 0x18003ba7b\ncvtdq2ps xmm2, xmm2                                                    ; +0x8f, 0x18003ba7f\nmovss   [rsp+78h+var_50], xmm1                                         ; +0x92, 0x18003ba82\nmovss   xmm1, [rsp+78h+var_4C]                                         ; +0x98, 0x18003ba88\naddss   xmm1, xmm2                                                     ; +0x9e, 0x18003ba8e\nmovss   [rsp+78h+var_44], xmm0                                         ; +0xa2, 0x18003ba92\nmovss   xmm0, [rsp+78h+var_38]                                         ; +0xa8, 0x18003ba98\naddss   xmm0, xmm3                                                     ; +0xae, 0x18003ba9e\nmovss   [rsp+78h+var_4C], xmm1                                         ; +0xb2, 0x18003baa2\nmovss   xmm1, [rsp+78h+var_40]                                         ; +0xb8, 0x18003baa8\naddss   xmm1, xmm2                                                     ; +0xbe, 0x18003baae\nmovss   [rsp+78h+var_38], xmm0                                         ; +0xc2, 0x18003bab2\nmovss   xmm0, [rsp+78h+var_2C]                                         ; +0xc8, 0x18003bab8\naddss   xmm0, xmm3                                                     ; +0xce, 0x18003babe\nmovss   [rsp+78h+var_40], xmm1                                         ; +0xd2, 0x18003bac2\nmovss   xmm1, [rsp+78h+var_34]                                         ; +0xd8, 0x18003bac8\naddss   xmm1, xmm2                                                     ; +0xde, 0x18003bace\nmovss   [rsp+78h+var_2C], xmm0                                         ; +0xe2, 0x18003bad2\nmovss   [rsp+78h+var_34], xmm1                                         ; +0xe8, 0x18003bad8\nmovss   xmm1, [rsp+78h+var_28]                                         ; +0xee, 0x18003bade\naddss   xmm1, xmm2                                                     ; +0xf4, 0x18003bae4\nmovss   [rsp+78h+var_28], xmm1                                         ; +0xf8, 0x18003bae8\ncall    ?setTile@CCTiledGrid3DAction@cocos2d@@QEAAXAEBVCCPoint@2@AEBU_ccQuad3@2@@Z; cocos2d::CCTiledGrid3DAction::setTile(cocos2d::CCPoint const &,cocos2d::_ccQuad3 const &) ; +0xfe, 0x18003baee\nmov     rcx, [rsp+78h+var_20]                                          ; +0x103, 0x18003baf3\nxor     rcx, rsp; StackCookie                                          ; +0x108, 0x18003baf8\ncall    __security_check_cookie                                        ; +0x10b, 0x18003bafb\nadd     rsp, 60h                                                       ; +0x110, 0x18003bb00\npop     rdi                                                            ; +0x114, 0x18003bb04\npop     rsi                                                            ; +0x115, 0x18003bb05\npop     rbx                                                            ; +0x116, 0x18003bb06\nretn                                                                   ; +0x117, 0x18003bb07", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bb020"], "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"}