{"type": "func", "start": 6442608832, "end": 6442608949, "name": "cocos2d::CCCardinalSplineTo::startWithTarget", "pseudocode": "// \n// cocos2d::CCCardinalSplineTo::startWithTarget from 0x1800268c0 to 0x180026935 (117 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCCardinalSplineBy::startWithTarget @ 0x180026890\n// > <???> @ 0x1800e7728\n// > <???> @ 0x1800e7828\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af418\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::CCCardinalSplineTo::startWithTarget(\n        cocos2d::CCCardinalSplineTo *this,\n        struct cocos2d::CCNode *a2)\n{\n  _DWORD *v4; // rax\n\n  cocos2d::CCActionInterval::startWithTarget(this, a2);\n  *((float *)this + 26) = 1.0\n                        / (float)(int)(((__int64)(*(_QWORD *)(*(_QWORD *)(*((_QWORD *)this + 12) + 56LL) + 8LL)\n                                                - **(_QWORD **)(*((_QWORD *)this + 12) + 56LL)) >> 3)\n                                     - 1);\n  v4 = (_DWORD *)((__int64 (__fastcall *)(struct cocos2d::CCNode *))a2->getPosition_0)(a2);\n  cocos2d::CCSize::operator=((_DWORD *)this + 28, v4);\n  cocos2d::CCSize::operator=((_DWORD *)this + 30, dword_1801A8380);\n}", "assembly": "; \n; cocos2d::CCCardinalSplineTo::startWithTarget from 0x1800268c0 to 0x180026935 (117 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCCardinalSplineBy::startWithTarget @ 0x180026890\n; > <???> @ 0x1800e7728\n; > <???> @ 0x1800e7828\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af418\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     [rsp+arg_0], rbx                                               ; +0x0, 0x1800268c0\npush    rdi                                                            ; +0x5, 0x1800268c5\nsub     rsp, 20h                                                       ; +0x6, 0x1800268c6\nmov     rbx, rdx                                                       ; +0xa, 0x1800268ca\nmov     rdi, rcx                                                       ; +0xd, 0x1800268cd\ncall    ?startWithTarget@CCActionInterval@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCActionInterval::startWithTarget(cocos2d::CCNode *) ; +0x10, 0x1800268d0\nmov     rax, [rdi+60h]                                                 ; +0x15, 0x1800268d5\nxorps   xmm0, xmm0                                                     ; +0x19, 0x1800268d9\nmovss   xmm1, cs:flt_1800E61A8                                         ; +0x1c, 0x1800268dc\nmov     rcx, rbx                                                       ; +0x24, 0x1800268e4\nmov     r8, [rax+38h]                                                  ; +0x27, 0x1800268e7\nmov     rax, [r8+8]                                                    ; +0x2b, 0x1800268eb\nsub     rax, [r8]                                                      ; +0x2f, 0x1800268ef\nsar     rax, 3                                                         ; +0x32, 0x1800268f2\ndec     eax                                                            ; +0x36, 0x1800268f6\ncvtsi2ss xmm0, rax                                                     ; +0x38, 0x1800268f8\ndivss   xmm1, xmm0                                                     ; +0x3d, 0x1800268fd\nmovss   dword ptr [rdi+68h], xmm1                                      ; +0x41, 0x180026901\nmov     rax, [rbx]                                                     ; +0x46, 0x180026906\ncall    qword ptr [rax+0C8h]                                           ; +0x49, 0x180026909\nmov     rdx, rax                                                       ; +0x4f, 0x18002690f\nlea     rcx, [rdi+70h]                                                 ; +0x52, 0x180026912\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x56, 0x180026916\nlea     rcx, [rdi+78h]                                                 ; +0x5b, 0x18002691b\nlea     rdx, dword_1801A8380                                           ; +0x5f, 0x18002691f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x66, 0x180026926\nadd     rsp, 20h                                                       ; +0x6b, 0x18002692b\npop     rdi                                                            ; +0x6f, 0x18002692f\njmp     ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x70, 0x180026930", "xrefs": ["cocos2d::CCCardinalSplineBy::startWithTarget @ 0x180026890", "<???> @ 0x1800e7728", "<???> @ 0x1800e7828", "<???> @ 0x1801438a8", "<???> @ 0x1801af418"], "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"}