{"type": "func", "start": 6443073408, "end": 6443073560, "name": "cocos2d::CCProfiler::releaseTimer", "pseudocode": "// \n// cocos2d::CCProfiler::releaseTimer from 0x180097f80 to 0x180098018 (152 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c09c0\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:10 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall cocos2d::CCProfiler::releaseTimer(cocos2d::CCDictionary **this, char *a2)\n{\n  void *v3; // rcx\n  void *Block[3]; // [rsp+30h] [rbp-38h] BYREF\n  unsigned __int64 v5; // [rsp+48h] [rbp-20h]\n\n  sub_180005A10(Block, a2);\n  cocos2d::CCDictionary::removeObjectForKey(*(this + 7), (char *)Block);\n  if ( v5 > 0xF )\n  {\n    v3 = Block[0];\n    if ( v5 + 1 >= 0x1000 )\n    {\n      v3 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free_0(v3);\n  }\n}", "assembly": "; \n; cocos2d::CCProfiler::releaseTimer from 0x180097f80 to 0x180098018 (152 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c09c0\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:10 +0000\n; \npush    rbx                                                            ; +0x0, 0x180097f80\nsub     rsp, 60h                                                       ; +0x2, 0x180097f82\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x180097f86\nxor     rax, rsp                                                       ; +0xd, 0x180097f8d\nmov     [rsp+68h+var_18], rax                                          ; +0x10, 0x180097f90\nmov     rbx, rcx                                                       ; +0x15, 0x180097f95\nlea     rcx, [rsp+68h+Block]; void *                                   ; +0x18, 0x180097f98\ncall    sub_180005A10                                                  ; +0x1d, 0x180097f9d\nnop                                                                    ; +0x22, 0x180097fa2\nlea     rdx, [rsp+68h+Block]; Str                                      ; +0x23, 0x180097fa3\nmov     rcx, [rbx+38h]; this                                           ; +0x28, 0x180097fa8\ncall    ?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x2c, 0x180097fac\nnop                                                                    ; +0x31, 0x180097fb1\nmov     rdx, [rsp+68h+var_20]                                          ; +0x32, 0x180097fb2\ncmp     rdx, 0Fh                                                       ; +0x37, 0x180097fb7\njbe     short loc_180098005                                            ; +0x3b, 0x180097fbb\ninc     rdx                                                            ; +0x3d, 0x180097fbd\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x40, 0x180097fc0\nmov     rax, rcx                                                       ; +0x45, 0x180097fc5\ncmp     rdx, 1000h                                                     ; +0x48, 0x180097fc8\njb      short loc_180098000                                            ; +0x4f, 0x180097fcf\nadd     rdx, 27h ; '''                                                 ; +0x51, 0x180097fd1\nmov     rcx, [rcx-8]                                                   ; +0x55, 0x180097fd5\nsub     rax, rcx                                                       ; +0x59, 0x180097fd9\nsub     rax, 8                                                         ; +0x5c, 0x180097fdc\ncmp     rax, 1Fh                                                       ; +0x60, 0x180097fe0\njbe     short loc_180098000                                            ; +0x64, 0x180097fe4\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0x66, 0x180097fe6\nxor     r9d, r9d; LineNo                                               ; +0x6f, 0x180097fef\nxor     r8d, r8d; FileName                                             ; +0x72, 0x180097ff2\nxor     edx, edx; FunctionName                                         ; +0x75, 0x180097ff5\nxor     ecx, ecx; Expression                                           ; +0x77, 0x180097ff7\ncall    cs:_invoke_watson                                              ; +0x79, 0x180097ff9\nalign 20h                                                              ; +0x7f, 0x180097fff\ncall    j_j_free_0                                                     ; +0x80, 0x180098000\nmov     rcx, [rsp+68h+var_18]                                          ; +0x85, 0x180098005\nxor     rcx, rsp; StackCookie                                          ; +0x8a, 0x18009800a\ncall    __security_check_cookie                                        ; +0x8d, 0x18009800d\nadd     rsp, 60h                                                       ; +0x92, 0x180098012\npop     rbx                                                            ; +0x96, 0x180098016\nretn                                                                   ; +0x97, 0x180098017", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c09c0"], "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"}