{"type": "func", "start": 6442549376, "end": 6442549467, "name": "sub_180018080", "pseudocode": "// \n// sub_180018080 from 0x180018080 to 0x1800180db (91 bytes)\n// \n// 12 xrefs:\n// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5974\n// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5a46\n// > sub_1800E6740 @ 0x1800e6747\n// > sub_1800E67E0 @ 0x1800e67e7\n// > sub_1800E8C40 @ 0x1800e8c47\n// > unknown_libname_19 @ 0x1800e8c57\n// > <???> @ 0x18013c3a5\n// > <???> @ 0x18013c45d\n// > <???> @ 0x180149e7b\n// > <???> @ 0x180149e83\n// > <???> @ 0x180149e91\n// > <???> @ 0x1801b8860\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:21:25 +0000\n// \n\n__int64 __fastcall sub_180018080(__int64 a1)\n{\n  __int64 v1; // rbx\n\n  v1 = a1 + 152;\n  *(_QWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 152) = &std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>::`vftable';\n  *(_DWORD *)(*(int *)(*(_QWORD *)a1 + 4LL) + v1 - 156) = *(_DWORD *)(*(_QWORD *)a1 + 4LL) - 152;\n  sub_1800174E0(a1 + 24);\n  std::iostream::~iostream<char,std::char_traits<char>>(v1 - 120);\n  return std::ios::~ios<char,std::char_traits<char>>(v1);\n}", "assembly": "; \n; sub_180018080 from 0x180018080 to 0x1800180db (91 bytes)\n; \n; 12 xrefs:\n; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5974\n; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b5a46\n; > sub_1800E6740 @ 0x1800e6747\n; > sub_1800E67E0 @ 0x1800e67e7\n; > sub_1800E8C40 @ 0x1800e8c47\n; > unknown_libname_19 @ 0x1800e8c57\n; > <???> @ 0x18013c3a5\n; > <???> @ 0x18013c45d\n; > <???> @ 0x180149e7b\n; > <???> @ 0x180149e83\n; > <???> @ 0x180149e91\n; > <???> @ 0x1801b8860\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:21:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x180018080\nsub     rsp, 20h                                                       ; +0x2, 0x180018082\nmov     rax, [rcx]                                                     ; +0x6, 0x180018086\nlea     rbx, [rcx+98h]                                                 ; +0x9, 0x180018089\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x10, 0x180018090\nlea     rax, ??_7?$basic_stringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@6B@; const std::basic_stringstream<char,std::char_traits<char>,std::allocator<char>>::`vftable' ; +0x14, 0x180018094\nmov     [rdx+rbx-98h], rax                                             ; +0x1b, 0x18001809b\nmov     rax, [rcx]                                                     ; +0x23, 0x1800180a3\nadd     rcx, 18h                                                       ; +0x26, 0x1800180a6\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x2a, 0x1800180aa\nlea     r8d, [rdx-98h]                                                 ; +0x2e, 0x1800180ae\nmov     [rdx+rbx-9Ch], r8d                                             ; +0x35, 0x1800180b5\ncall    sub_1800174E0                                                  ; +0x3d, 0x1800180bd\nlea     rcx, [rbx-78h]                                                 ; +0x42, 0x1800180c2\ncall    cs:??1?$basic_iostream@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::iostream::~iostream<char,std::char_traits<char>>(void) ; +0x46, 0x1800180c6\nmov     rcx, rbx                                                       ; +0x4c, 0x1800180cc\nadd     rsp, 20h                                                       ; +0x4f, 0x1800180cf\npop     rbx                                                            ; +0x53, 0x1800180d3\njmp     cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios<char,std::char_traits<char>>(void) ; +0x54, 0x1800180d4", "xrefs": ["cocos2d::CCTMXMapInfo::startElement @ 0x1800b5974", "cocos2d::CCTMXMapInfo::startElement @ 0x1800b5a46", "sub_1800E6740 @ 0x1800e6747", "sub_1800E67E0 @ 0x1800e67e7", "sub_1800E8C40 @ 0x1800e8c47", "unknown_libname_19 @ 0x1800e8c57", "<???> @ 0x18013c3a5", "<???> @ 0x18013c45d", "<???> @ 0x180149e7b", "<???> @ 0x180149e83", "<???> @ 0x180149e91", "<???> @ 0x1801b8860"], "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"}