{"type": "func", "start": 6443261344, "end": 6443261519, "name": "cocos2d::CCTimer::timerWithTarget", "pseudocode": "// \n// cocos2d::CCTimer::timerWithTarget from 0x1800c5da0 to 0x1800c5e4f (175 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3834\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:27 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *__fastcall cocos2d::CCTimer::timerWithTarget(__int64 a1, __int64 a2, float a3)\n{\n  cocos2d::CCObject *v5; // rax\n  cocos2d::CCObject *v6; // rbx\n\n  v5 = (cocos2d::CCObject *)sub_1800E4AC0(0x68u);\n  v6 = v5;\n  if ( v5 )\n  {\n    cocos2d::CCObject::CCObject(v5);\n    *(_QWORD *)v6 = &cocos2d::CCTimer::`vftable';\n    LODWORD(v5) = 0;\n    *((_QWORD *)v6 + 7) = 0;\n    *((_DWORD *)v6 + 16) = -1082130432;\n    *((_WORD *)v6 + 34) = 0;\n    *((_QWORD *)v6 + 9) = 0;\n    *((_QWORD *)v6 + 10) = 0;\n    *((_QWORD *)v6 + 11) = 0;\n    *((_DWORD *)v6 + 24) = 0;\n  }\n  else\n  {\n    v6 = nullptr;\n  }\n  *((_QWORD *)v6 + 7) = a1;\n  *((_QWORD *)v6 + 11) = a2;\n  *((_DWORD *)v6 + 16) = -1082130432;\n  *((float *)v6 + 21) = a3;\n  *((_DWORD *)v6 + 20) = (_DWORD)v5;\n  *((_WORD *)v6 + 34) = 1;\n  *((_DWORD *)v6 + 19) = -2;\n  cocos2d::CCObject::autorelease(v6);\n  return v6;\n}", "assembly": "; \n; cocos2d::CCTimer::timerWithTarget from 0x1800c5da0 to 0x1800c5e4f (175 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3834\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:27 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800c5da0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800c5da5\npush    rdi                                                            ; +0xa, 0x1800c5daa\nsub     rsp, 30h                                                       ; +0xb, 0x1800c5dab\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x1800c5daf\nmovaps  xmm6, xmm2                                                     ; +0x14, 0x1800c5db4\nmov     rdi, rdx                                                       ; +0x17, 0x1800c5db7\nmov     rsi, rcx                                                       ; +0x1a, 0x1800c5dba\nmov     ecx, 68h ; 'h'; Size                                           ; +0x1d, 0x1800c5dbd\ncall    sub_1800E4AC0                                                  ; +0x22, 0x1800c5dc2\nmov     rbx, rax                                                       ; +0x27, 0x1800c5dc7\nmov     [rsp+38h+arg_0], rax                                           ; +0x2a, 0x1800c5dca\ntest    rax, rax                                                       ; +0x2f, 0x1800c5dcf\njz      short loc_1800C5E08                                            ; +0x32, 0x1800c5dd2\nmov     rcx, rax; this                                                 ; +0x34, 0x1800c5dd4\ncall    ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x37, 0x1800c5dd7\nlea     rax, ??_7CCTimer@cocos2d@@6B@; const cocos2d::CCTimer::`vftable' ; +0x3c, 0x1800c5ddc\nmov     [rbx], rax                                                     ; +0x43, 0x1800c5de3\nxor     eax, eax                                                       ; +0x46, 0x1800c5de6\nmov     [rbx+38h], rax                                                 ; +0x48, 0x1800c5de8\nmov     dword ptr [rbx+40h], 0BF800000h                                ; +0x4c, 0x1800c5dec\nmov     [rbx+44h], ax                                                  ; +0x53, 0x1800c5df3\nmov     [rbx+48h], rax                                                 ; +0x57, 0x1800c5df7\nmov     [rbx+50h], rax                                                 ; +0x5b, 0x1800c5dfb\nmov     [rbx+58h], rax                                                 ; +0x5f, 0x1800c5dff\nmov     [rbx+60h], eax                                                 ; +0x63, 0x1800c5e03\njmp     short loc_1800C5E0B                                            ; +0x66, 0x1800c5e06\nmov     rbx, rax                                                       ; +0x68, 0x1800c5e08\nmov     [rbx+38h], rsi                                                 ; +0x6b, 0x1800c5e0b\nmov     [rbx+58h], rdi                                                 ; +0x6f, 0x1800c5e0f\nmov     dword ptr [rbx+40h], 0BF800000h                                ; +0x73, 0x1800c5e13\nmovss   dword ptr [rbx+54h], xmm6                                      ; +0x7a, 0x1800c5e1a\nmov     [rbx+50h], eax                                                 ; +0x7f, 0x1800c5e1f\nmov     word ptr [rbx+44h], 1                                          ; +0x82, 0x1800c5e22\nmov     dword ptr [rbx+4Ch], 0FFFFFFFEh                                ; +0x88, 0x1800c5e28\nmov     rcx, rbx; this                                                 ; +0x8f, 0x1800c5e2f\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x92, 0x1800c5e32\nmov     rax, rbx                                                       ; +0x97, 0x1800c5e37\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x9a, 0x1800c5e3a\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x9f, 0x1800c5e3f\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xa4, 0x1800c5e44\nadd     rsp, 30h                                                       ; +0xa9, 0x1800c5e49\npop     rdi                                                            ; +0xad, 0x1800c5e4d\nretn                                                                   ; +0xae, 0x1800c5e4e", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c3834"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}