{"type": "func", "start": 6442622560, "end": 6442622755, "name": "cocos2d::CCEaseRateAction::create", "pseudocode": "// \n// cocos2d::CCEaseRateAction::create from 0x180029e60 to 0x180029f23 (195 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCEaseRateAction::reverse @ 0x18002a4d2\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9898\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:31 +0000\n// \n\nstruct cocos2d::CCEaseRateAction *__fastcall cocos2d::CCEaseRateAction::create(\n        struct cocos2d::CCActionInterval *this,\n        float a2)\n{\n  cocos2d::CCAction *v3; // rax\n  cocos2d::CCAction *v4; // rbx\n\n  v3 = (cocos2d::CCAction *)sub_1800E4AC0(0x70u);\n  v4 = v3;\n  if ( v3 )\n  {\n    *(_OWORD *)v3 = 0;\n    *((_OWORD *)v3 + 1) = 0;\n    *((_OWORD *)v3 + 2) = 0;\n    *((_OWORD *)v3 + 3) = 0;\n    *((_OWORD *)v3 + 4) = 0;\n    *((_OWORD *)v3 + 5) = 0;\n    *((_OWORD *)v3 + 6) = 0;\n    cocos2d::CCAction::CCAction(v3);\n    *((_DWORD *)v4 + 20) = 0;\n    *(_QWORD *)v4 = &cocos2d::CCEaseRateAction::`vftable';\n  }\n  else\n  {\n    v4 = nullptr;\n  }\n  if ( !v4 )\n    return v4;\n  if ( cocos2d::CCActionInterval::initWithDuration(v4, *((float *)this + 20)) )\n  {\n    *((_QWORD *)v4 + 12) = this;\n    cocos2d::CCObject::retain(this);\n    *((float *)v4 + 26) = a2;\n    cocos2d::CCObject::autorelease(v4);\n    return v4;\n  }\n  cocos2d::CCObject::release(v4);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCEaseRateAction::create from 0x180029e60 to 0x180029f23 (195 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCEaseRateAction::reverse @ 0x18002a4d2\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9898\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:31 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180029e60\npush    rdi                                                            ; +0x5, 0x180029e65\nsub     rsp, 30h                                                       ; +0x6, 0x180029e66\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x180029e6a\nmovaps  xmm6, xmm1                                                     ; +0xf, 0x180029e6f\nmov     rdi, rcx                                                       ; +0x12, 0x180029e72\nmov     ecx, 70h ; 'p'; Size                                           ; +0x15, 0x180029e75\ncall    sub_1800E4AC0                                                  ; +0x1a, 0x180029e7a\nmov     rbx, rax                                                       ; +0x1f, 0x180029e7f\nmov     [rsp+38h+arg_10], rax                                          ; +0x22, 0x180029e82\ntest    rax, rax                                                       ; +0x27, 0x180029e87\njz      short loc_180029EC5                                            ; +0x2a, 0x180029e8a\nxorps   xmm0, xmm0                                                     ; +0x2c, 0x180029e8c\nmovups  xmmword ptr [rax], xmm0                                        ; +0x2f, 0x180029e8f\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x32, 0x180029e92\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x36, 0x180029e96\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x3a, 0x180029e9a\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x3e, 0x180029e9e\nmovups  xmmword ptr [rax+50h], xmm0                                    ; +0x42, 0x180029ea2\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x46, 0x180029ea6\nmov     rcx, rax; this                                                 ; +0x4a, 0x180029eaa\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x4d, 0x180029ead\nmov     dword ptr [rbx+50h], 0                                         ; +0x52, 0x180029eb2\nlea     rax, ??_7CCEaseRateAction@cocos2d@@6B@; const cocos2d::CCEaseRateAction::`vftable' ; +0x59, 0x180029eb9\nmov     [rbx], rax                                                     ; +0x60, 0x180029ec0\njmp     short loc_180029EC7                                            ; +0x63, 0x180029ec3\nxor     ebx, ebx                                                       ; +0x65, 0x180029ec5\ntest    rbx, rbx                                                       ; +0x67, 0x180029ec7\njz      short loc_180029EF6                                            ; +0x6a, 0x180029eca\nmovss   xmm1, dword ptr [rdi+50h]; float                               ; +0x6c, 0x180029ecc\nmov     rcx, rbx; this                                                 ; +0x71, 0x180029ed1\ncall    ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x74, 0x180029ed4\ntest    al, al                                                         ; +0x79, 0x180029ed9\njz      short loc_180029F09                                            ; +0x7b, 0x180029edb\nmov     [rbx+60h], rdi                                                 ; +0x7d, 0x180029edd\nmov     rcx, rdi; this                                                 ; +0x81, 0x180029ee1\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x84, 0x180029ee4\nmovss   dword ptr [rbx+68h], xmm6                                      ; +0x89, 0x180029ee9\nmov     rcx, rbx; this                                                 ; +0x8e, 0x180029eee\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x91, 0x180029ef1\nmov     rax, rbx                                                       ; +0x96, 0x180029ef6\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x99, 0x180029ef9\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x9e, 0x180029efe\nadd     rsp, 30h                                                       ; +0xa3, 0x180029f03\npop     rdi                                                            ; +0xa7, 0x180029f07\nretn                                                                   ; +0xa8, 0x180029f08\nmov     rcx, rbx; this                                                 ; +0xa9, 0x180029f09\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xac, 0x180029f0c\nxor     eax, eax                                                       ; +0xb1, 0x180029f11\nmov     rbx, [rsp+38h+arg_0]                                           ; +0xb3, 0x180029f13\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xb8, 0x180029f18\nadd     rsp, 30h                                                       ; +0xbd, 0x180029f1d\npop     rdi                                                            ; +0xc1, 0x180029f21\nretn                                                                   ; +0xc2, 0x180029f22", "xrefs": ["cocos2d::CCEaseRateAction::reverse @ 0x18002a4d2", "<???> @ 0x18014cf68", "<???> @ 0x1801b9898"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}