{"type": "func", "start": 6443059248, "end": 6443059381, "name": "cocos2d::CCProfiler::releaseTimer", "pseudocode": "// \n// cocos2d::CCProfiler::releaseTimer from 0x180094830 to 0x1800948b5 (133 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b6720\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\nvoid __fastcall cocos2d::CCProfiler::releaseTimer(cocos2d::CCProfiler *this, char *a2)\n{\n  void *v3; // rcx\n  void *Block[3]; // [rsp+20h] [rbp-38h] BYREF\n  unsigned __int64 v5; // [rsp+38h] [rbp-20h]\n\n  sub_180005910(Block, a2);\n  cocos2d::CCDictionary::removeObjectForKey(*((cocos2d::CCDictionary **)this + 7), (unsigned __int8 *)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        invalid_parameter_noinfo_noreturn();\n    }\n    j_j_free_0(v3);\n  }\n}", "assembly": "; \n; cocos2d::CCProfiler::releaseTimer from 0x180094830 to 0x1800948b5 (133 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b6720\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\npush    rbx                                                            ; +0x0, 0x180094830\nsub     rsp, 50h                                                       ; +0x2, 0x180094832\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x180094836\nxor     rax, rsp                                                       ; +0xd, 0x18009483d\nmov     [rsp+58h+var_18], rax                                          ; +0x10, 0x180094840\nmov     rbx, rcx                                                       ; +0x15, 0x180094845\nlea     rcx, [rsp+58h+Block]                                           ; +0x18, 0x180094848\ncall    sub_180005910                                                  ; +0x1d, 0x18009484d\nnop                                                                    ; +0x22, 0x180094852\nlea     rdx, [rsp+58h+Block]; Buf2                                     ; +0x23, 0x180094853\nmov     rcx, [rbx+38h]; this                                           ; +0x28, 0x180094858\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, 0x18009485c\nnop                                                                    ; +0x31, 0x180094861\nmov     rdx, [rsp+58h+var_20]                                          ; +0x32, 0x180094862\ncmp     rdx, 0Fh                                                       ; +0x37, 0x180094867\njbe     short loc_1800948A2                                            ; +0x3b, 0x18009486b\ninc     rdx                                                            ; +0x3d, 0x18009486d\nmov     rcx, [rsp+58h+Block]; Block                                    ; +0x40, 0x180094870\nmov     rax, rcx                                                       ; +0x45, 0x180094875\ncmp     rdx, 1000h                                                     ; +0x48, 0x180094878\njb      short loc_18009489D                                            ; +0x4f, 0x18009487f\nadd     rdx, 27h ; '''                                                 ; +0x51, 0x180094881\nmov     rcx, [rcx-8]                                                   ; +0x55, 0x180094885\nsub     rax, rcx                                                       ; +0x59, 0x180094889\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x5c, 0x18009488c\ncmp     rax, 1Fh                                                       ; +0x60, 0x180094890\njbe     short loc_18009489D                                            ; +0x64, 0x180094894\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x66, 0x180094896\ndb 0CCh                                                                ; +0x6c, 0x18009489c\ncall    j_j_free_0                                                     ; +0x6d, 0x18009489d\nmov     rcx, [rsp+58h+var_18]                                          ; +0x72, 0x1800948a2\nxor     rcx, rsp; StackCookie                                          ; +0x77, 0x1800948a7\ncall    __security_check_cookie                                        ; +0x7a, 0x1800948aa\nadd     rsp, 50h                                                       ; +0x7f, 0x1800948af\npop     rbx                                                            ; +0x83, 0x1800948b3\nretn                                                                   ; +0x84, 0x1800948b4", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b6720"], "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"}