{"type": "func", "start": 6442700976, "end": 6442701114, "name": "cocos2d::CCActionTween::initWithDuration", "pseudocode": "// \n// cocos2d::CCActionTween::initWithDuration from 0x18003d0b0 to 0x18003d13a (138 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCActionTween::create @ 0x18003d057\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b111c\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::CCActionTween::initWithDuration(\n        cocos2d::CCActionTween *this,\n        float a2,\n        char *a3,\n        float a4,\n        float a5)\n{\n  size_t v7; // r8\n\n  if ( !cocos2d::CCActionInterval::initWithDuration(this, a2) )\n    return 0;\n  v7 = -1;\n  do\n    ++v7;\n  while ( a3[v7] );\n  sub_180010050((void **)&this->m_strKey, a3, v7);\n  this->m_fTo = a5;\n  this->m_fFrom = a4;\n  this->m_nIntTag = 0;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCActionTween::initWithDuration from 0x18003d0b0 to 0x18003d13a (138 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCActionTween::create @ 0x18003d057\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b111c\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, 0x18003d0b0\npush    rdi                                                            ; +0x5, 0x18003d0b5\nsub     rsp, 30h                                                       ; +0x6, 0x18003d0b6\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xa, 0x18003d0ba\nmov     rbx, r8                                                        ; +0xf, 0x18003d0bf\nmovaps  xmm6, xmm3                                                     ; +0x12, 0x18003d0c2\nmov     rdi, rcx                                                       ; +0x15, 0x18003d0c5\ncall    ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0x18, 0x18003d0c8\ntest    al, al                                                         ; +0x1d, 0x18003d0cd\njz      short loc_18003D128                                            ; +0x1f, 0x18003d0cf\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x21, 0x18003d0d1\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x18003d0d8\ninc     r8; Size                                                       ; +0x30, 0x18003d0e0\ncmp     byte ptr [rbx+r8], 0                                           ; +0x33, 0x18003d0e3\njnz     short loc_18003D0E0                                            ; +0x38, 0x18003d0e8\nlea     rcx, [rdi+60h]; void *                                         ; +0x3a, 0x18003d0ea\nmov     rdx, rbx; Src                                                  ; +0x3e, 0x18003d0ee\ncall    sub_180010050                                                  ; +0x41, 0x18003d0f1\nmovss   xmm0, [rsp+38h+arg_20]                                         ; +0x46, 0x18003d0f6\nmov     al, 1                                                          ; +0x4c, 0x18003d0fc\nmovss   dword ptr [rdi+88h], xmm0                                      ; +0x4e, 0x18003d0fe\nmovss   dword ptr [rdi+84h], xmm6                                      ; +0x56, 0x18003d106\nmov     dword ptr [rdi+80h], 0                                         ; +0x5e, 0x18003d10e\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x68, 0x18003d118\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x6d, 0x18003d11d\nadd     rsp, 30h                                                       ; +0x72, 0x18003d122\npop     rdi                                                            ; +0x76, 0x18003d126\nretn                                                                   ; +0x77, 0x18003d127\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x78, 0x18003d128\nxor     al, al                                                         ; +0x7d, 0x18003d12d\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x7f, 0x18003d12f\nadd     rsp, 30h                                                       ; +0x84, 0x18003d134\npop     rdi                                                            ; +0x88, 0x18003d138\nretn                                                                   ; +0x89, 0x18003d139", "xrefs": ["cocos2d::CCActionTween::create @ 0x18003d057", "<???> @ 0x1801438a8", "<???> @ 0x1801b111c"], "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"}