{"type": "func", "start": 6443108464, "end": 6443108530, "name": "cocos2d::unzClose", "pseudocode": "// \n// cocos2d::unzClose from 0x1800a0870 to 0x1800a08b2 (66 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCFileUtils::getFileDataFromZip @ 0x18007013f\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b7788\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__int64 __fastcall cocos2d::unzClose(cocos2d *this, void *a2)\n{\n  if ( !this )\n    return 4294967194LL;\n  if ( *((_QWORD *)this + 34) )\n    cocos2d::unzCloseCurrentFile(this, a2);\n  (*((void (__fastcall **)(_QWORD, _QWORD))this + 5))(*((_QWORD *)this + 7), *((_QWORD *)this + 12));\n  free(this);\n  return 0;\n}", "assembly": "; \n; cocos2d::unzClose from 0x1800a0870 to 0x1800a08b2 (66 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCFileUtils::getFileDataFromZip @ 0x18007013f\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b7788\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, 0x1800a0870\nsub     rsp, 20h                                                       ; +0x2, 0x1800a0872\nmov     rbx, rcx                                                       ; +0x6, 0x1800a0876\ntest    rcx, rcx                                                       ; +0x9, 0x1800a0879\njnz     short loc_1800A0887                                            ; +0xc, 0x1800a087c\nlea     eax, [rcx-66h]                                                 ; +0xe, 0x1800a087e\nadd     rsp, 20h                                                       ; +0x11, 0x1800a0881\npop     rbx                                                            ; +0x15, 0x1800a0885\nretn                                                                   ; +0x16, 0x1800a0886\ncmp     qword ptr [rcx+110h], 0                                        ; +0x17, 0x1800a0887\njz      short loc_1800A0896                                            ; +0x1f, 0x1800a088f\ncall    ?unzCloseCurrentFile@cocos2d@@YAHPEAX@Z; cocos2d::unzCloseCurrentFile(void *) ; +0x21, 0x1800a0891\nmov     rdx, [rbx+60h]                                                 ; +0x26, 0x1800a0896\nmov     rcx, [rbx+38h]                                                 ; +0x2a, 0x1800a089a\ncall    qword ptr [rbx+28h]                                            ; +0x2e, 0x1800a089e\nmov     rcx, rbx; Block                                                ; +0x31, 0x1800a08a1\ncall    cs:__imp_free                                                  ; +0x34, 0x1800a08a4\nxor     eax, eax                                                       ; +0x3a, 0x1800a08aa\nadd     rsp, 20h                                                       ; +0x3c, 0x1800a08ac\npop     rbx                                                            ; +0x40, 0x1800a08b0\nretn                                                                   ; +0x41, 0x1800a08b1", "xrefs": ["cocos2d::CCFileUtils::getFileDataFromZip @ 0x18007013f", "<???> @ 0x1801438a8", "<???> @ 0x1801b7788"], "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"}