{"type": "func", "start": 6442667376, "end": 6442667581, "name": "cocos2d::CCTintTo::create", "pseudocode": "// \n// cocos2d::CCTintTo::create from 0x180034d70 to 0x180034e3d (205 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b06a8\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\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCTintTo *__fastcall cocos2d::CCTintTo::create(float a1, char a2, char a3, char a4)\n{\n  cocos2d::CCAction *v7; // rbx\n\n  v7 = (cocos2d::CCAction *)operator new(0x68u);\n  if ( v7 )\n  {\n    *(_OWORD *)&v7->__vftable = 0;\n    *(_OWORD *)&v7->cocos2d::CCObject::m_nTag = 0;\n    *(_OWORD *)&v7->m_uIndexInArray = 0;\n    *(_OWORD *)&v7->m_uOrderOfArrival = 0;\n    *(_OWORD *)&v7->m_pTarget = 0;\n    *(_OWORD *)&v7[1].__vftable = 0;\n    *(_QWORD *)&v7[1].cocos2d::CCObject::m_nTag = 0;\n    cocos2d::CCAction::CCAction(v7);\n    LODWORD(v7[1].__vftable) = 0;\n    v7->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCTintTo::`vftable';\n  }\n  else\n  {\n    v7 = nullptr;\n  }\n  *(float *)&v7[1].__vftable = a1;\n  if ( a1 == 0.0 )\n    LODWORD(v7[1].__vftable) = 872415232;\n  v7[1].m_uID = 0;\n  LOBYTE(v7[1].m_nLuaID) = 1;\n  LOBYTE(v7[1].cocos2d::CCObject::m_nTag) = a2;\n  BYTE1(v7[1].cocos2d::CCObject::m_nTag) = a3;\n  BYTE2(v7[1].cocos2d::CCObject::m_nTag) = a4;\n  cocos2d::CCObject::autorelease(v7);\n  return (struct cocos2d::CCTintTo *)v7;\n}", "assembly": "; \n; cocos2d::CCTintTo::create from 0x180034d70 to 0x180034e3d (205 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b06a8\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, 0x180034d70\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180034d75\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180034d7a\npush    rdi                                                            ; +0xf, 0x180034d7f\nsub     rsp, 40h                                                       ; +0x10, 0x180034d80\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x14, 0x180034d84\nmovzx   edi, r9b                                                       ; +0x19, 0x180034d89\nmovzx   esi, r8b                                                       ; +0x1d, 0x180034d8d\nmovzx   ebp, dl                                                        ; +0x21, 0x180034d91\nmovaps  xmm6, xmm0                                                     ; +0x24, 0x180034d94\nmov     ecx, 68h ; 'h'; Size                                           ; +0x27, 0x180034d97\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2c, 0x180034d9c\nmov     rbx, rax                                                       ; +0x31, 0x180034da1\nmov     [rsp+48h+var_28], rax                                          ; +0x34, 0x180034da4\ntest    rax, rax                                                       ; +0x39, 0x180034da9\njz      short loc_180034DE9                                            ; +0x3c, 0x180034dac\nxorps   xmm1, xmm1                                                     ; +0x3e, 0x180034dae\nxor     eax, eax                                                       ; +0x41, 0x180034db1\nmovups  xmmword ptr [rbx], xmm1                                        ; +0x43, 0x180034db3\nmovups  xmmword ptr [rbx+10h], xmm1                                    ; +0x46, 0x180034db6\nmovups  xmmword ptr [rbx+20h], xmm1                                    ; +0x4a, 0x180034dba\nmovups  xmmword ptr [rbx+30h], xmm1                                    ; +0x4e, 0x180034dbe\nmovups  xmmword ptr [rbx+40h], xmm1                                    ; +0x52, 0x180034dc2\nmovups  xmmword ptr [rbx+50h], xmm1                                    ; +0x56, 0x180034dc6\nmov     [rbx+60h], rax                                                 ; +0x5a, 0x180034dca\nmov     rcx, rbx; this                                                 ; +0x5e, 0x180034dce\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x61, 0x180034dd1\nmov     dword ptr [rbx+50h], 0                                         ; +0x66, 0x180034dd6\nlea     rax, ??_7CCTintTo@cocos2d@@6B@; const cocos2d::CCTintTo::`vftable' ; +0x6d, 0x180034ddd\nmov     [rbx], rax                                                     ; +0x74, 0x180034de4\njmp     short loc_180034DEB                                            ; +0x77, 0x180034de7\nxor     ebx, ebx                                                       ; +0x79, 0x180034de9\nmovss   dword ptr [rbx+50h], xmm6                                      ; +0x7b, 0x180034deb\nxorps   xmm0, xmm0                                                     ; +0x80, 0x180034df0\nucomiss xmm6, xmm0                                                     ; +0x83, 0x180034df3\njp      short loc_180034E01                                            ; +0x86, 0x180034df6\njnz     short loc_180034E01                                            ; +0x88, 0x180034df8\nmov     dword ptr [rbx+50h], 34000000h                                 ; +0x8a, 0x180034dfa\nmov     dword ptr [rbx+58h], 0                                         ; +0x91, 0x180034e01\nmov     byte ptr [rbx+5Ch], 1                                          ; +0x98, 0x180034e08\nmov     [rbx+60h], bpl                                                 ; +0x9c, 0x180034e0c\nmov     [rbx+61h], sil                                                 ; +0xa0, 0x180034e10\nmov     [rbx+62h], dil                                                 ; +0xa4, 0x180034e14\nmov     rcx, rbx; this                                                 ; +0xa8, 0x180034e18\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xab, 0x180034e1b\nmov     rax, rbx                                                       ; +0xb0, 0x180034e20\nmov     rbx, [rsp+48h+arg_0]                                           ; +0xb3, 0x180034e23\nmov     rbp, [rsp+48h+arg_8]                                           ; +0xb8, 0x180034e28\nmov     rsi, [rsp+48h+arg_10]                                          ; +0xbd, 0x180034e2d\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0xc2, 0x180034e32\nadd     rsp, 40h                                                       ; +0xc7, 0x180034e37\npop     rdi                                                            ; +0xcb, 0x180034e3b\nretn                                                                   ; +0xcc, 0x180034e3c", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b06a8"], "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"}