{"type": "func", "start": 6442606432, "end": 6442606537, "name": "cocos2d::CCCardinalSplineTo::initWithDuration", "pseudocode": "// \n// cocos2d::CCCardinalSplineTo::initWithDuration from 0x180025f60 to 0x180025fc9 (105 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af388\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\nchar __fastcall cocos2d::CCCardinalSplineTo::initWithDuration(\n        cocos2d::CCCardinalSplineTo *this,\n        float a2,\n        struct cocos2d::CCPointArray *a3,\n        float a4)\n{\n  cocos2d::CCObject *v6; // rcx\n\n  if ( !cocos2d::CCActionInterval::initWithDuration(this, a2) )\n    return 0;\n  if ( a3 )\n    cocos2d::CCObject::retain(a3);\n  v6 = *((cocos2d::CCObject **)this + 12);\n  if ( v6 )\n    cocos2d::CCObject::release(v6);\n  *((float *)this + 27) = a4;\n  *((_QWORD *)this + 12) = a3;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCCardinalSplineTo::initWithDuration from 0x180025f60 to 0x180025fc9 (105 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af388\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, 0x180025f60\npush    rdi                                                            ; +0x5, 0x180025f65\nsub     rsp, 30h                                                       ; +0x6, 0x180025f66\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x180025f6a\nmov     rdi, r8                                                        ; +0xf, 0x180025f6f\nmovaps  xmm6, xmm3                                                     ; +0x12, 0x180025f72\nmov     rbx, rcx                                                       ; +0x15, 0x180025f75\ncall    ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x18, 0x180025f78\ntest    al, al                                                         ; +0x1d, 0x180025f7d\njz      short loc_180025FB7                                            ; +0x1f, 0x180025f7f\ntest    rdi, rdi                                                       ; +0x21, 0x180025f81\njz      short loc_180025F8E                                            ; +0x24, 0x180025f84\nmov     rcx, rdi; this                                                 ; +0x26, 0x180025f86\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x29, 0x180025f89\nmov     rcx, [rbx+60h]; this                                           ; +0x2e, 0x180025f8e\ntest    rcx, rcx                                                       ; +0x32, 0x180025f92\njz      short loc_180025F9C                                            ; +0x35, 0x180025f95\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x37, 0x180025f97\nmovss   dword ptr [rbx+6Ch], xmm6                                      ; +0x3c, 0x180025f9c\nmov     al, 1                                                          ; +0x41, 0x180025fa1\nmov     [rbx+60h], rdi                                                 ; +0x43, 0x180025fa3\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x47, 0x180025fa7\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x4c, 0x180025fac\nadd     rsp, 30h                                                       ; +0x51, 0x180025fb1\npop     rdi                                                            ; +0x55, 0x180025fb5\nretn                                                                   ; +0x56, 0x180025fb6\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x57, 0x180025fb7\nxor     al, al                                                         ; +0x5c, 0x180025fbc\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x5e, 0x180025fbe\nadd     rsp, 30h                                                       ; +0x63, 0x180025fc3\npop     rdi                                                            ; +0x67, 0x180025fc7\nretn                                                                   ; +0x68, 0x180025fc8", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801af388"], "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"}