{"type": "func", "start": 6442550320, "end": 6442550411, "name": "sub_180018430", "pseudocode": "// \n// sub_180018430 from 0x180018430 to 0x18001848b (91 bytes)\n// \n// 12 xrefs:\n// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b20a1\n// > cocos2d::CCTMXMapInfo::startElement @ 0x1800b2167\n// > sub_1800E1100 @ 0x1800e1107\n// > sub_1800E11A0 @ 0x1800e11a7\n// > sub_1800E36C0 @ 0x1800e36c7\n// > unknown_libname_13 @ 0x1800e36d7\n// > <???> @ 0x1801333e5\n// > <???> @ 0x180133495\n// > <???> @ 0x180140b89\n// > <???> @ 0x180140b91\n// > <???> @ 0x180140b9f\n// > <???> @ 0x1801ae7f4\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 sub_180018430(__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_1800179A0(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_180018430 from 0x180018430 to 0x18001848b (91 bytes)\n; \n; 12 xrefs:\n; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b20a1\n; > cocos2d::CCTMXMapInfo::startElement @ 0x1800b2167\n; > sub_1800E1100 @ 0x1800e1107\n; > sub_1800E11A0 @ 0x1800e11a7\n; > sub_1800E36C0 @ 0x1800e36c7\n; > unknown_libname_13 @ 0x1800e36d7\n; > <???> @ 0x1801333e5\n; > <???> @ 0x180133495\n; > <???> @ 0x180140b89\n; > <???> @ 0x180140b91\n; > <???> @ 0x180140b9f\n; > <???> @ 0x1801ae7f4\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, 0x180018430\nsub     rsp, 20h                                                       ; +0x2, 0x180018432\nmov     rax, [rcx]                                                     ; +0x6, 0x180018436\nlea     rbx, [rcx+98h]                                                 ; +0x9, 0x180018439\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x10, 0x180018440\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, 0x180018444\nmov     [rdx+rbx-98h], rax                                             ; +0x1b, 0x18001844b\nmov     rax, [rcx]                                                     ; +0x23, 0x180018453\nlea     rcx, [rbx-80h]                                                 ; +0x26, 0x180018456\nmovsxd  rdx, dword ptr [rax+4]                                         ; +0x2a, 0x18001845a\nlea     r8d, [rdx-98h]                                                 ; +0x2e, 0x18001845e\nmov     [rdx+rbx-9Ch], r8d                                             ; +0x35, 0x180018465\ncall    sub_1800179A0                                                  ; +0x3d, 0x18001846d\nlea     rcx, [rbx-78h]                                                 ; +0x42, 0x180018472\ncall    cs:??1?$basic_iostream@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::iostream::~iostream<char,std::char_traits<char>>(void) ; +0x46, 0x180018476\nmov     rcx, rbx                                                       ; +0x4c, 0x18001847c\nadd     rsp, 20h                                                       ; +0x4f, 0x18001847f\npop     rbx                                                            ; +0x53, 0x180018483\njmp     cs:??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ; std::ios::~ios<char,std::char_traits<char>>(void) ; +0x54, 0x180018484", "xrefs": ["cocos2d::CCTMXMapInfo::startElement @ 0x1800b20a1", "cocos2d::CCTMXMapInfo::startElement @ 0x1800b2167", "sub_1800E1100 @ 0x1800e1107", "sub_1800E11A0 @ 0x1800e11a7", "sub_1800E36C0 @ 0x1800e36c7", "unknown_libname_13 @ 0x1800e36d7", "<???> @ 0x1801333e5", "<???> @ 0x180133495", "<???> @ 0x180140b89", "<???> @ 0x180140b91", "<???> @ 0x180140b9f", "<???> @ 0x1801ae7f4"], "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"}