{"type": "func", "start": 6442670016, "end": 6442670071, "name": "cocos2d::CCTintBy::initWithDuration", "pseudocode": "// \n// cocos2d::CCTintBy::initWithDuration from 0x1800357c0 to 0x1800357f7 (55 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\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::CCTintBy::initWithDuration(\n        cocos2d::CCTintBy *this,\n        float a2,\n        __int16 a3,\n        __int16 a4,\n        __int16 a5)\n{\n  this->m_fDuration = a2;\n  if ( a2 == 0.0 )\n    this->m_fDuration = 0.00000011920929;\n  *((_WORD *)this + 50) = a5;\n  this->m_elapsed = 0.0;\n  this->m_bFirstTick = 1;\n  *((_WORD *)this + 48) = a3;\n  *((_WORD *)this + 49) = a4;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCTintBy::initWithDuration from 0x1800357c0 to 0x1800357f7 (55 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\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\nxorps   xmm0, xmm0                                                     ; +0x0, 0x1800357c0\nmovss   dword ptr [rcx+50h], xmm1                                      ; +0x3, 0x1800357c3\nucomiss xmm1, xmm0                                                     ; +0x8, 0x1800357c8\njp      short loc_1800357D6                                            ; +0xb, 0x1800357cb\njnz     short loc_1800357D6                                            ; +0xd, 0x1800357cd\nmov     dword ptr [rcx+50h], 34000000h                                 ; +0xf, 0x1800357cf\nmovzx   eax, [rsp+arg_20]                                              ; +0x16, 0x1800357d6\nmov     [rcx+64h], ax                                                  ; +0x1b, 0x1800357db\nmov     al, 1                                                          ; +0x1f, 0x1800357df\nmov     dword ptr [rcx+58h], 0                                         ; +0x21, 0x1800357e1\nmov     byte ptr [rcx+5Ch], 1                                          ; +0x28, 0x1800357e8\nmov     [rcx+60h], r8w                                                 ; +0x2c, 0x1800357ec\nmov     [rcx+62h], r9w                                                 ; +0x31, 0x1800357f1\nretn                                                                   ; +0x36, 0x1800357f6", "xrefs": ["<???> @ 0x1801438a8"], "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"}