{"type": "func", "start": 6442669232, "end": 6442669335, "name": "cocos2d::CCBezierTo::initWithDuration", "pseudocode": "// \n// cocos2d::CCBezierTo::initWithDuration from 0x1800354b0 to 0x180035517 (103 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0768\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\nbool __fastcall cocos2d::CCBezierTo::initWithDuration(\n        cocos2d::CCBezierTo *this,\n        float a2,\n        const struct cocos2d::_ccBezierConfig *a3)\n{\n  char *v4; // rbx\n\n  this->m_fDuration = a2;\n  if ( a2 == 0.0 )\n    this->m_fDuration = 0.00000011920929;\n  v4 = (char *)this + 136;\n  this->m_elapsed = 0.0;\n  this->m_bFirstTick = 1;\n  cocos2d::CCSize::operator=((_DWORD *)this + 34, a3);\n  cocos2d::CCSize::operator=((_DWORD *)v4 + 2, (_DWORD *)a3 + 2);\n  cocos2d::CCSize::operator=((_DWORD *)v4 + 4, (_DWORD *)a3 + 4);\n  return 0;\n}", "assembly": "; \n; cocos2d::CCBezierTo::initWithDuration from 0x1800354b0 to 0x180035517 (103 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0768\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, 0x1800354b0\npush    rdi                                                            ; +0x5, 0x1800354b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800354b6\nxorps   xmm0, xmm0                                                     ; +0xa, 0x1800354ba\nmovss   dword ptr [rcx+50h], xmm1                                      ; +0xd, 0x1800354bd\nucomiss xmm1, xmm0                                                     ; +0x12, 0x1800354c2\nmov     rdi, r8                                                        ; +0x15, 0x1800354c5\njp      short loc_1800354D3                                            ; +0x18, 0x1800354c8\njnz     short loc_1800354D3                                            ; +0x1a, 0x1800354ca\nmov     dword ptr [rcx+50h], 34000000h                                 ; +0x1c, 0x1800354cc\nlea     rbx, [rcx+88h]                                                 ; +0x23, 0x1800354d3\nmov     dword ptr [rcx+58h], 0                                         ; +0x2a, 0x1800354da\nmov     byte ptr [rcx+5Ch], 1                                          ; +0x31, 0x1800354e1\nmov     rdx, rdi                                                       ; +0x35, 0x1800354e5\nmov     rcx, rbx                                                       ; +0x38, 0x1800354e8\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x3b, 0x1800354eb\nlea     rdx, [rdi+8]                                                   ; +0x40, 0x1800354f0\nlea     rcx, [rbx+8]                                                   ; +0x44, 0x1800354f4\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x48, 0x1800354f8\nlea     rdx, [rdi+10h]                                                 ; +0x4d, 0x1800354fd\nlea     rcx, [rbx+10h]                                                 ; +0x51, 0x180035501\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x55, 0x180035505\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5a, 0x18003550a\nxor     al, al                                                         ; +0x5f, 0x18003550f\nadd     rsp, 20h                                                       ; +0x61, 0x180035511\npop     rdi                                                            ; +0x65, 0x180035515\nretn                                                                   ; +0x66, 0x180035516", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b0768"], "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"}