{"type": "func", "start": 6442598864, "end": 6442599027, "name": "cocos2d::CCSpeed::create", "pseudocode": "// \n// cocos2d::CCSpeed::create from 0x1800241d0 to 0x180024273 (163 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCSpeed::reverse @ 0x180024490\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af130\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\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCSpeed *__fastcall cocos2d::CCSpeed::create(struct cocos2d::CCActionInterval *this, float a2)\n{\n  cocos2d::CCObject *v3; // rax\n  cocos2d::CCObject *v4; // rbx\n\n  v3 = (cocos2d::CCObject *)operator new(0x60u);\n  v4 = v3;\n  if ( v3 )\n  {\n    cocos2d::CCObject::CCObject(v3);\n    v4[1].__vftable = nullptr;\n    *(_QWORD *)&v4[1].m_uID = 0;\n    v4[1].m_nTag = -1;\n    *(_QWORD *)&v4[1].m_uReference = 1065353216;\n    v4->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCSpeed::`vftable';\n    *(_QWORD *)&v4[1].m_uIndexInArray = 0;\n  }\n  else\n  {\n    v4 = nullptr;\n  }\n  if ( !v4 )\n    return nullptr;\n  cocos2d::CCObject::retain(this);\n  *(_QWORD *)&v4[1].m_uIndexInArray = this;\n  *(float *)&v4[1].m_uAutoReleaseCount = a2;\n  cocos2d::CCObject::autorelease(v4);\n  return (struct cocos2d::CCSpeed *)v4;\n}", "assembly": "; \n; cocos2d::CCSpeed::create from 0x1800241d0 to 0x180024273 (163 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCSpeed::reverse @ 0x180024490\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af130\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, 0x1800241d0\npush    rdi                                                            ; +0x5, 0x1800241d5\nsub     rsp, 30h                                                       ; +0x6, 0x1800241d6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x1800241da\nmovaps  xmm6, xmm1                                                     ; +0xf, 0x1800241df\nmov     rdi, rcx                                                       ; +0x12, 0x1800241e2\nmov     ecx, 60h ; '`'; Size                                           ; +0x15, 0x1800241e5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1800241ea\nmov     rbx, rax                                                       ; +0x1f, 0x1800241ef\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x1800241f2\ntest    rax, rax                                                       ; +0x27, 0x1800241f7\njz      short loc_18002422D                                            ; +0x2a, 0x1800241fa\nmov     rcx, rax; this                                                 ; +0x2c, 0x1800241fc\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x2f, 0x1800241ff\nxor     eax, eax                                                       ; +0x34, 0x180024204\nmov     [rbx+38h], rax                                                 ; +0x36, 0x180024206\nmov     [rbx+40h], rax                                                 ; +0x3a, 0x18002420a\nmov     dword ptr [rbx+48h], 0FFFFFFFFh                                ; +0x3e, 0x18002420e\nmov     qword ptr [rbx+4Ch], 3F800000h                                 ; +0x45, 0x180024215\nlea     rcx, ??_7CCSpeed@cocos2d@@6B@; const cocos2d::CCSpeed::`vftable' ; +0x4d, 0x18002421d\nmov     [rbx], rcx                                                     ; +0x54, 0x180024224\nmov     [rbx+58h], rax                                                 ; +0x57, 0x180024227\njmp     short loc_180024230                                            ; +0x5b, 0x18002422b\nmov     rbx, rax                                                       ; +0x5d, 0x18002422d\ntest    rbx, rbx                                                       ; +0x60, 0x180024230\njz      short loc_180024261                                            ; +0x63, 0x180024233\nmov     rcx, rdi; this                                                 ; +0x65, 0x180024235\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x68, 0x180024238\nmov     [rbx+58h], rdi                                                 ; +0x6d, 0x18002423d\nmovss   dword ptr [rbx+50h], xmm6                                      ; +0x71, 0x180024241\nmov     rcx, rbx; this                                                 ; +0x76, 0x180024246\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x79, 0x180024249\nmov     rax, rbx                                                       ; +0x7e, 0x18002424e\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x81, 0x180024251\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x86, 0x180024256\nadd     rsp, 30h                                                       ; +0x8b, 0x18002425b\npop     rdi                                                            ; +0x8f, 0x18002425f\nretn                                                                   ; +0x90, 0x180024260\nxor     eax, eax                                                       ; +0x91, 0x180024261\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x93, 0x180024263\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x98, 0x180024268\nadd     rsp, 30h                                                       ; +0x9d, 0x18002426d\npop     rdi                                                            ; +0xa1, 0x180024271\nretn                                                                   ; +0xa2, 0x180024272", "xrefs": ["cocos2d::CCSpeed::reverse @ 0x180024490", "<???> @ 0x1801438a8", "<???> @ 0x1801af130"], "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"}