{"type": "func", "start": 6442619168, "end": 6442619363, "name": "cocos2d::CCEaseElasticInOut::create", "pseudocode": "// \n// cocos2d::CCEaseElasticInOut::create from 0x180029120 to 0x1800291e3 (195 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCEaseElasticInOut::create @ 0x180029118\n// > cocos2d::CCEaseElasticInOut::reverse @ 0x180029c40\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af724\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\nstruct cocos2d::CCEaseElasticInOut *__fastcall cocos2d::CCEaseElasticInOut::create(\n        struct cocos2d::CCActionInterval *this,\n        float a2)\n{\n  _OWORD *v3; // rax\n  _OWORD *v4; // rbx\n\n  v3 = operator new(0x70u);\n  v4 = v3;\n  if ( v3 )\n  {\n    *v3 = 0;\n    v3[1] = 0;\n    v3[2] = 0;\n    v3[3] = 0;\n    v3[4] = 0;\n    v3[5] = 0;\n    v3[6] = 0;\n    cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3);\n    *((_DWORD *)v4 + 20) = 0;\n    *(_QWORD *)v4 = &cocos2d::CCEaseElasticInOut::`vftable';\n  }\n  else\n  {\n    v4 = nullptr;\n  }\n  if ( !v4 )\n    return (struct cocos2d::CCEaseElasticInOut *)v4;\n  if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v4, this->m_fDuration) )\n  {\n    *((_QWORD *)v4 + 12) = this;\n    cocos2d::CCObject::retain(this);\n    *((float *)v4 + 26) = a2;\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);\n    return (struct cocos2d::CCEaseElasticInOut *)v4;\n  }\n  cocos2d::CCObject::release((cocos2d::CCObject *)v4);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCEaseElasticInOut::create from 0x180029120 to 0x1800291e3 (195 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCEaseElasticInOut::create @ 0x180029118\n; > cocos2d::CCEaseElasticInOut::reverse @ 0x180029c40\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af724\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, 0x180029120\npush    rdi                                                            ; +0x5, 0x180029125\nsub     rsp, 30h                                                       ; +0x6, 0x180029126\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x18002912a\nmovaps  xmm6, xmm1                                                     ; +0xf, 0x18002912f\nmov     rdi, rcx                                                       ; +0x12, 0x180029132\nmov     ecx, 70h ; 'p'; Size                                           ; +0x15, 0x180029135\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x18002913a\nmov     rbx, rax                                                       ; +0x1f, 0x18002913f\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x180029142\ntest    rax, rax                                                       ; +0x27, 0x180029147\njz      short loc_180029185                                            ; +0x2a, 0x18002914a\nxorps   xmm0, xmm0                                                     ; +0x2c, 0x18002914c\nmovups  xmmword ptr [rax], xmm0                                        ; +0x2f, 0x18002914f\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x32, 0x180029152\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x36, 0x180029156\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x3a, 0x18002915a\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x3e, 0x18002915e\nmovups  xmmword ptr [rax+50h], xmm0                                    ; +0x42, 0x180029162\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x46, 0x180029166\nmov     rcx, rax; this                                                 ; +0x4a, 0x18002916a\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4d, 0x18002916d\nmov     dword ptr [rbx+50h], 0                                         ; +0x52, 0x180029172\nlea     rax, ??_7CCEaseElasticInOut@cocos2d@@6B@; const cocos2d::CCEaseElasticInOut::`vftable' ; +0x59, 0x180029179\nmov     [rbx], rax                                                     ; +0x60, 0x180029180\njmp     short loc_180029187                                            ; +0x63, 0x180029183\nxor     ebx, ebx                                                       ; +0x65, 0x180029185\ntest    rbx, rbx                                                       ; +0x67, 0x180029187\njz      short loc_1800291B6                                            ; +0x6a, 0x18002918a\nmovss   xmm1, dword ptr [rdi+50h]; float                               ; +0x6c, 0x18002918c\nmov     rcx, rbx; this                                                 ; +0x71, 0x180029191\ncall    ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x74, 0x180029194\ntest    al, al                                                         ; +0x79, 0x180029199\njz      short loc_1800291C9                                            ; +0x7b, 0x18002919b\nmov     [rbx+60h], rdi                                                 ; +0x7d, 0x18002919d\nmov     rcx, rdi; this                                                 ; +0x81, 0x1800291a1\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x84, 0x1800291a4\nmovss   dword ptr [rbx+68h], xmm6                                      ; +0x89, 0x1800291a9\nmov     rcx, rbx; this                                                 ; +0x8e, 0x1800291ae\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x91, 0x1800291b1\nmov     rax, rbx                                                       ; +0x96, 0x1800291b6\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x99, 0x1800291b9\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x9e, 0x1800291be\nadd     rsp, 30h                                                       ; +0xa3, 0x1800291c3\npop     rdi                                                            ; +0xa7, 0x1800291c7\nretn                                                                   ; +0xa8, 0x1800291c8\nmov     rcx, rbx; this                                                 ; +0xa9, 0x1800291c9\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xac, 0x1800291cc\nxor     eax, eax                                                       ; +0xb1, 0x1800291d1\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb3, 0x1800291d3\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xb8, 0x1800291d8\nadd     rsp, 30h                                                       ; +0xbd, 0x1800291dd\npop     rdi                                                            ; +0xc1, 0x1800291e1\nretn                                                                   ; +0xc2, 0x1800291e2", "xrefs": ["cocos2d::CCEaseElasticInOut::create @ 0x180029118", "cocos2d::CCEaseElasticInOut::reverse @ 0x180029c40", "<???> @ 0x1801438a8", "<???> @ 0x1801af724"], "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"}