{"type": "func", "start": 6442482448, "end": 6442482630, "name": "cocos2d::CCPrettyPrinter::~CCPrettyPrinter", "pseudocode": "// \n// cocos2d::CCPrettyPrinter::~CCPrettyPrinter from 0x180007b10 to 0x180007bc6 (182 bytes)\n// \n// 14 xrefs:\n// > sub_180007C60 @ 0x180007cc2\n// > cocos2d::CCPrettyPrinter::visit @ 0x1800082f0\n// > cocos2d::CCConfiguration::dumpInfo @ 0x1800bc5ed\n// > sub_1800E0850 @ 0x1800e0857\n// > sub_1800E08A0 @ 0x1800e08a7\n// > sub_1800E08F0 @ 0x1800e08f7\n// > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e38a7\n// > sub_180007C60 @ 0x180007c7c\n// > <???> @ 0x1801319b3\n// > <???> @ 0x180131a13\n// > <???> @ 0x180131a7b\n// > <???> @ 0x180141c33\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801adb40\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\nvoid __fastcall cocos2d::CCPrettyPrinter::~CCPrettyPrinter(cocos2d::CCPrettyPrinter *this)\n{\n  unsigned __int64 v1; // rdx\n  _QWORD *v3; // rcx\n  unsigned __int64 v4; // rdx\n  void *v5; // rcx\n\n  v1 = *((_QWORD *)this + 9);\n  if ( v1 > 0xF )\n  {\n    v3 = *((_QWORD **)this + 6);\n    if ( v1 + 1 >= 0x1000 )\n    {\n      if ( (unsigned __int64)v3 - *(v3 - 1) - 8 > 0x1F )\n        goto LABEL_12;\n      v3 = (_QWORD *)*(v3 - 1);\n    }\n    j_j_free_0(v3);\n  }\n  *((_QWORD *)this + 8) = 0;\n  *((_QWORD *)this + 9) = 15;\n  *((_BYTE *)this + 48) = 0;\n  v4 = *((_QWORD *)this + 5);\n  if ( v4 > 0xF )\n  {\n    v5 = *((void **)this + 2);\n    if ( v4 + 1 < 0x1000 )\n    {\nLABEL_10:\n      j_j_free_0(v5);\n      goto LABEL_11;\n    }\n    if ( (unsigned __int64)v5 - *((_QWORD *)v5 - 1) - 8 <= 0x1F )\n    {\n      v5 = *((void **)v5 - 1);\n      goto LABEL_10;\n    }\nLABEL_12:\n    invalid_parameter_noinfo_noreturn();\n  }\nLABEL_11:\n  *((_QWORD *)this + 4) = 0;\n  *((_QWORD *)this + 5) = 15;\n  *((_BYTE *)this + 16) = 0;\n  this->__vftable = (cocos2d::CCPrettyPrinter_vtbl *)&cocos2d::CCDataVisitor::`vftable';\n}", "assembly": "; \n; cocos2d::CCPrettyPrinter::~CCPrettyPrinter from 0x180007b10 to 0x180007bc6 (182 bytes)\n; \n; 14 xrefs:\n; > sub_180007C60 @ 0x180007cc2\n; > cocos2d::CCPrettyPrinter::visit @ 0x1800082f0\n; > cocos2d::CCConfiguration::dumpInfo @ 0x1800bc5ed\n; > sub_1800E0850 @ 0x1800e0857\n; > sub_1800E08A0 @ 0x1800e08a7\n; > sub_1800E08F0 @ 0x1800e08f7\n; > int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e38a7\n; > sub_180007C60 @ 0x180007c7c\n; > <???> @ 0x1801319b3\n; > <???> @ 0x180131a13\n; > <???> @ 0x180131a7b\n; > <???> @ 0x180141c33\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801adb40\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, 0x180007b10\nsub     rsp, 20h                                                       ; +0x2, 0x180007b12\nmov     rdx, [rcx+48h]                                                 ; +0x6, 0x180007b16\nmov     rbx, rcx                                                       ; +0xa, 0x180007b1a\ncmp     rdx, 0Fh                                                       ; +0xd, 0x180007b1d\njbe     short loc_180007B50                                            ; +0x11, 0x180007b21\nmov     rcx, [rcx+30h]                                                 ; +0x13, 0x180007b23\ninc     rdx                                                            ; +0x17, 0x180007b27\ncmp     rdx, 1000h                                                     ; +0x1a, 0x180007b2a\njb      short loc_180007B4B                                            ; +0x21, 0x180007b31\nmov     r8, [rcx-8]                                                    ; +0x23, 0x180007b33\nadd     rdx, 27h ; '''                                                 ; +0x27, 0x180007b37\nsub     rcx, r8                                                        ; +0x2b, 0x180007b3b\nlea     rax, [rcx-8]                                                   ; +0x2e, 0x180007b3e\ncmp     rax, 1Fh                                                       ; +0x32, 0x180007b42\nja      short loc_180007BBF                                            ; +0x36, 0x180007b46\nmov     rcx, r8; Block                                                 ; +0x38, 0x180007b48\ncall    j_j_free_0                                                     ; +0x3b, 0x180007b4b\nmov     qword ptr [rbx+40h], 0                                         ; +0x40, 0x180007b50\nmov     qword ptr [rbx+48h], 0Fh                                       ; +0x48, 0x180007b58\nmov     byte ptr [rbx+30h], 0                                          ; +0x50, 0x180007b60\nmov     rdx, [rbx+28h]                                                 ; +0x54, 0x180007b64\ncmp     rdx, 0Fh                                                       ; +0x58, 0x180007b68\njbe     short loc_180007B9B                                            ; +0x5c, 0x180007b6c\nmov     rcx, [rbx+10h]                                                 ; +0x5e, 0x180007b6e\ninc     rdx                                                            ; +0x62, 0x180007b72\ncmp     rdx, 1000h                                                     ; +0x65, 0x180007b75\njb      short loc_180007B96                                            ; +0x6c, 0x180007b7c\nmov     r8, [rcx-8]                                                    ; +0x6e, 0x180007b7e\nadd     rdx, 27h ; '''                                                 ; +0x72, 0x180007b82\nsub     rcx, r8                                                        ; +0x76, 0x180007b86\nlea     rax, [rcx-8]                                                   ; +0x79, 0x180007b89\ncmp     rax, 1Fh                                                       ; +0x7d, 0x180007b8d\nja      short loc_180007BBF                                            ; +0x81, 0x180007b91\nmov     rcx, r8; Block                                                 ; +0x83, 0x180007b93\ncall    j_j_free_0                                                     ; +0x86, 0x180007b96\nlea     rax, ??_7CCDataVisitor@cocos2d@@6B@; const cocos2d::CCDataVisitor::`vftable' ; +0x8b, 0x180007b9b\nmov     qword ptr [rbx+20h], 0                                         ; +0x92, 0x180007ba2\nmov     qword ptr [rbx+28h], 0Fh                                       ; +0x9a, 0x180007baa\nmov     byte ptr [rbx+10h], 0                                          ; +0xa2, 0x180007bb2\nmov     [rbx], rax                                                     ; +0xa6, 0x180007bb6\nadd     rsp, 20h                                                       ; +0xa9, 0x180007bb9\npop     rbx                                                            ; +0xad, 0x180007bbd\nretn                                                                   ; +0xae, 0x180007bbe\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0xaf, 0x180007bbf\ndb 0CCh                                                                ; +0xb5, 0x180007bc5", "xrefs": ["sub_180007C60 @ 0x180007cc2", "cocos2d::CCPrettyPrinter::visit @ 0x1800082f0", "cocos2d::CCConfiguration::dumpInfo @ 0x1800bc5ed", "sub_1800E0850 @ 0x1800e0857", "sub_1800E08A0 @ 0x1800e08a7", "sub_1800E08F0 @ 0x1800e08f7", "int `__acrt_get_current_directory<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1800e38a7", "sub_180007C60 @ 0x180007c7c", "<???> @ 0x1801319b3", "<???> @ 0x180131a13", "<???> @ 0x180131a7b", "<???> @ 0x180141c33", "<???> @ 0x1801438a8", "<???> @ 0x1801adb40"], "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"}