{"type": "func", "start": 6443246752, "end": 6443246927, "name": "cocos2d::CCTimer::timerWithTarget", "pseudocode": "// \n// cocos2d::CCTimer::timerWithTarget from 0x1800c24a0 to 0x1800c254f (175 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b9570\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\ncocos2d::CCObject *__fastcall cocos2d::CCTimer::timerWithTarget(cocos2d::CCObject_vtbl *a1, __int64 a2, float a3)\n{\n  cocos2d::CCObject *v5; // rax\n  cocos2d::CCObject *v6; // rbx\n\n  v5 = (cocos2d::CCObject *)operator new(0x68u);\n  v6 = v5;\n  if ( v5 )\n  {\n    cocos2d::CCObject::CCObject(v5);\n    v6->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCTimer::`vftable';\n    LODWORD(v5) = 0;\n    v6[1].__vftable = nullptr;\n    v6[1].m_uID = -1082130432;\n    LOWORD(v6[1].m_nLuaID) = 0;\n    *(_QWORD *)&v6[1].m_nTag = 0;\n    *(_QWORD *)&v6[1].m_uAutoReleaseCount = 0;\n    *(_QWORD *)&v6[1].m_uIndexInArray = 0;\n    v6[1].m_unknown2 = 0;\n  }\n  else\n  {\n    v6 = nullptr;\n  }\n  v6[1].__vftable = a1;\n  *(_QWORD *)&v6[1].m_uIndexInArray = a2;\n  v6[1].m_uID = -1082130432;\n  *(float *)&v6[1].m_eObjType = a3;\n  v6[1].m_uAutoReleaseCount = (unsigned int)v5;\n  LOWORD(v6[1].m_nLuaID) = 1;\n  v6[1].m_uReference = -2;\n  cocos2d::CCObject::autorelease(v6);\n  return v6;\n}", "assembly": "; \n; cocos2d::CCTimer::timerWithTarget from 0x1800c24a0 to 0x1800c254f (175 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b9570\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_8], rbx                                               ; +0x0, 0x1800c24a0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800c24a5\npush    rdi                                                            ; +0xa, 0x1800c24aa\nsub     rsp, 30h                                                       ; +0xb, 0x1800c24ab\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x1800c24af\nmovaps  xmm6, xmm2                                                     ; +0x14, 0x1800c24b4\nmov     rdi, rdx                                                       ; +0x17, 0x1800c24b7\nmov     rsi, rcx                                                       ; +0x1a, 0x1800c24ba\nmov     ecx, 68h ; 'h'; Size                                           ; +0x1d, 0x1800c24bd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x1800c24c2\nmov     rbx, rax                                                       ; +0x27, 0x1800c24c7\nmov     [rsp+38h+arg_0], rax                                           ; +0x2a, 0x1800c24ca\ntest    rax, rax                                                       ; +0x2f, 0x1800c24cf\njz      short loc_1800C2508                                            ; +0x32, 0x1800c24d2\nmov     rcx, rax; this                                                 ; +0x34, 0x1800c24d4\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x37, 0x1800c24d7\nlea     rax, ??_7CCTimer@cocos2d@@6B@; const cocos2d::CCTimer::`vftable' ; +0x3c, 0x1800c24dc\nmov     [rbx], rax                                                     ; +0x43, 0x1800c24e3\nxor     eax, eax                                                       ; +0x46, 0x1800c24e6\nmov     [rbx+38h], rax                                                 ; +0x48, 0x1800c24e8\nmov     dword ptr [rbx+40h], 0BF800000h                                ; +0x4c, 0x1800c24ec\nmov     [rbx+44h], ax                                                  ; +0x53, 0x1800c24f3\nmov     [rbx+48h], rax                                                 ; +0x57, 0x1800c24f7\nmov     [rbx+50h], rax                                                 ; +0x5b, 0x1800c24fb\nmov     [rbx+58h], rax                                                 ; +0x5f, 0x1800c24ff\nmov     [rbx+60h], eax                                                 ; +0x63, 0x1800c2503\njmp     short loc_1800C250B                                            ; +0x66, 0x1800c2506\nmov     rbx, rax                                                       ; +0x68, 0x1800c2508\nmov     [rbx+38h], rsi                                                 ; +0x6b, 0x1800c250b\nmov     [rbx+58h], rdi                                                 ; +0x6f, 0x1800c250f\nmov     dword ptr [rbx+40h], 0BF800000h                                ; +0x73, 0x1800c2513\nmovss   dword ptr [rbx+54h], xmm6                                      ; +0x7a, 0x1800c251a\nmov     [rbx+50h], eax                                                 ; +0x7f, 0x1800c251f\nmov     word ptr [rbx+44h], 1                                          ; +0x82, 0x1800c2522\nmov     dword ptr [rbx+4Ch], 0FFFFFFFEh                                ; +0x88, 0x1800c2528\nmov     rcx, rbx; this                                                 ; +0x8f, 0x1800c252f\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x92, 0x1800c2532\nmov     rax, rbx                                                       ; +0x97, 0x1800c2537\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x9a, 0x1800c253a\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x9f, 0x1800c253f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa4, 0x1800c2544\nadd     rsp, 30h                                                       ; +0xa9, 0x1800c2549\npop     rdi                                                            ; +0xad, 0x1800c254d\nretn                                                                   ; +0xae, 0x1800c254e", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b9570"], "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"}