{"type": "func", "start": 6442618720, "end": 6442618915, "name": "cocos2d::CCEaseElastic::create", "pseudocode": "// \n// cocos2d::CCEaseElastic::create from 0x180028f60 to 0x180029023 (195 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEaseElastic::create @ 0x180028f58\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af70c\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::CCEaseElastic *__fastcall cocos2d::CCEaseElastic::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::CCEaseElastic::`vftable';\n  }\n  else\n  {\n    v4 = nullptr;\n  }\n  if ( !v4 )\n    return (struct cocos2d::CCEaseElastic *)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::CCEaseElastic *)v4;\n  }\n  cocos2d::CCObject::release((cocos2d::CCObject *)v4);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCEaseElastic::create from 0x180028f60 to 0x180029023 (195 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEaseElastic::create @ 0x180028f58\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af70c\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, 0x180028f60\npush    rdi                                                            ; +0x5, 0x180028f65\nsub     rsp, 30h                                                       ; +0x6, 0x180028f66\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x180028f6a\nmovaps  xmm6, xmm1                                                     ; +0xf, 0x180028f6f\nmov     rdi, rcx                                                       ; +0x12, 0x180028f72\nmov     ecx, 70h ; 'p'; Size                                           ; +0x15, 0x180028f75\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x180028f7a\nmov     rbx, rax                                                       ; +0x1f, 0x180028f7f\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x180028f82\ntest    rax, rax                                                       ; +0x27, 0x180028f87\njz      short loc_180028FC5                                            ; +0x2a, 0x180028f8a\nxorps   xmm0, xmm0                                                     ; +0x2c, 0x180028f8c\nmovups  xmmword ptr [rax], xmm0                                        ; +0x2f, 0x180028f8f\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x32, 0x180028f92\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x36, 0x180028f96\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x3a, 0x180028f9a\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x3e, 0x180028f9e\nmovups  xmmword ptr [rax+50h], xmm0                                    ; +0x42, 0x180028fa2\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x46, 0x180028fa6\nmov     rcx, rax; this                                                 ; +0x4a, 0x180028faa\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4d, 0x180028fad\nmov     dword ptr [rbx+50h], 0                                         ; +0x52, 0x180028fb2\nlea     rax, ??_7CCEaseElastic@cocos2d@@6B@; const cocos2d::CCEaseElastic::`vftable' ; +0x59, 0x180028fb9\nmov     [rbx], rax                                                     ; +0x60, 0x180028fc0\njmp     short loc_180028FC7                                            ; +0x63, 0x180028fc3\nxor     ebx, ebx                                                       ; +0x65, 0x180028fc5\ntest    rbx, rbx                                                       ; +0x67, 0x180028fc7\njz      short loc_180028FF6                                            ; +0x6a, 0x180028fca\nmovss   xmm1, dword ptr [rdi+50h]; float                               ; +0x6c, 0x180028fcc\nmov     rcx, rbx; this                                                 ; +0x71, 0x180028fd1\ncall    ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x74, 0x180028fd4\ntest    al, al                                                         ; +0x79, 0x180028fd9\njz      short loc_180029009                                            ; +0x7b, 0x180028fdb\nmov     [rbx+60h], rdi                                                 ; +0x7d, 0x180028fdd\nmov     rcx, rdi; this                                                 ; +0x81, 0x180028fe1\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x84, 0x180028fe4\nmovss   dword ptr [rbx+68h], xmm6                                      ; +0x89, 0x180028fe9\nmov     rcx, rbx; this                                                 ; +0x8e, 0x180028fee\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x91, 0x180028ff1\nmov     rax, rbx                                                       ; +0x96, 0x180028ff6\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x99, 0x180028ff9\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x9e, 0x180028ffe\nadd     rsp, 30h                                                       ; +0xa3, 0x180029003\npop     rdi                                                            ; +0xa7, 0x180029007\nretn                                                                   ; +0xa8, 0x180029008\nmov     rcx, rbx; this                                                 ; +0xa9, 0x180029009\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xac, 0x18002900c\nxor     eax, eax                                                       ; +0xb1, 0x180029011\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb3, 0x180029013\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xb8, 0x180029018\nadd     rsp, 30h                                                       ; +0xbd, 0x18002901d\npop     rdi                                                            ; +0xc1, 0x180029021\nretn                                                                   ; +0xc2, 0x180029022", "xrefs": ["cocos2d::CCEaseElastic::create @ 0x180028f58", "<???> @ 0x1801438a8", "<???> @ 0x1801af70c"], "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"}