{"type": "func", "start": 6442670144, "end": 6442670254, "name": "cocos2d::CCTargetedAction::initWithTarget", "pseudocode": "// \n// cocos2d::CCTargetedAction::initWithTarget from 0x180035840 to 0x1800358ae (110 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0798\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::CCTargetedAction::initWithTarget(\n        cocos2d::CCTargetedAction *this,\n        struct cocos2d::CCNode *a2,\n        struct cocos2d::CCFiniteTimeAction *a3)\n{\n  float m_fDuration; // xmm1_4\n\n  m_fDuration = a3->m_fDuration;\n  this->m_fDuration = m_fDuration;\n  if ( m_fDuration == 0.0 )\n    this->m_fDuration = 0.00000011920929;\n  this->m_elapsed = 0.0;\n  this->m_bFirstTick = 1;\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  *((_QWORD *)this + 12) = a2;\n  cocos2d::CCObject::retain(a3);\n  *((_QWORD *)this + 13) = a3;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCTargetedAction::initWithTarget from 0x180035840 to 0x1800358ae (110 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0798\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, 0x180035840\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180035845\npush    rdi                                                            ; +0xa, 0x18003584a\nsub     rsp, 20h                                                       ; +0xb, 0x18003584b\nmovss   xmm1, dword ptr [r8+50h]                                       ; +0xf, 0x18003584f\nxorps   xmm0, xmm0                                                     ; +0x15, 0x180035855\nucomiss xmm1, xmm0                                                     ; +0x18, 0x180035858\nmov     rsi, r8                                                        ; +0x1b, 0x18003585b\nmov     rdi, rdx                                                       ; +0x1e, 0x18003585e\nmov     rbx, rcx                                                       ; +0x21, 0x180035861\nmovss   dword ptr [rcx+50h], xmm1                                      ; +0x24, 0x180035864\njp      short loc_180035874                                            ; +0x29, 0x180035869\njnz     short loc_180035874                                            ; +0x2b, 0x18003586b\nmov     dword ptr [rcx+50h], 34000000h                                 ; +0x2d, 0x18003586d\nmov     dword ptr [rcx+58h], 0                                         ; +0x34, 0x180035874\nmov     byte ptr [rcx+5Ch], 1                                          ; +0x3b, 0x18003587b\ntest    rdi, rdi                                                       ; +0x3f, 0x18003587f\njz      short loc_18003588C                                            ; +0x42, 0x180035882\nmov     rcx, rdi; this                                                 ; +0x44, 0x180035884\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x47, 0x180035887\nmov     rcx, rsi; this                                                 ; +0x4c, 0x18003588c\nmov     [rbx+60h], rdi                                                 ; +0x4f, 0x18003588f\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x53, 0x180035893\nmov     [rbx+68h], rsi                                                 ; +0x58, 0x180035898\nmov     al, 1                                                          ; +0x5c, 0x18003589c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5e, 0x18003589e\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x63, 0x1800358a3\nadd     rsp, 20h                                                       ; +0x68, 0x1800358a8\npop     rdi                                                            ; +0x6c, 0x1800358ac\nretn                                                                   ; +0x6d, 0x1800358ad", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b0798"], "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"}