// // sub_140523B90 from 0x140523b90 to 0x140523df9 (617 bytes) // // 2 xrefs: // > sub_140543730 @ 0x140545478 // > @ 0x14092b4fc // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:33:38 +0000 // // Hidden C++ exception states: #wind=3 __int64 __fastcall sub_140523B90(__int64 a1, __int64 a2) { __int64 ***v4; // rsi __int64 **i; // rbx __int64 *v6; // rax unsigned int v7; // edi _BYTE *v8; // rax size_t v9; // r8 void *v10; // rcx __int128 v12; // [rsp+30h] [rbp-D0h] BYREF _BYTE v13[16]; // [rsp+48h] [rbp-B8h] BYREF _BYTE v14[16]; // [rsp+58h] [rbp-A8h] BYREF void *Block[2]; // [rsp+68h] [rbp-98h] BYREF __m128i si128; // [rsp+78h] [rbp-88h] _BYTE v17[528]; // [rsp+90h] [rbp-70h] BYREF _OWORD v18[2]; // [rsp+2A0h] [rbp+1A0h] BYREF fmt::BasicWriter::BasicWriter(v17); v18[0] = 0; v18[1] = _mm_load_si128((const __m128i *)&xmmword_140836520); LOWORD(v18[0]) = 124; fmt::BasicWriter::operator<<(v17, *(unsigned int *)(a2 + 16)); v12 = *(_OWORD *)fmt::BasicStringRef::BasicStringRef(v14, v18); fmt::BasicWriter::operator<<(v17, &v12); v4 = *(__int64 ****)(a2 + 8); for ( i = *v4; i != (__int64 **)v4; i = (__int64 **)*i ) { v6 = i[3]; if ( v6 ) v7 = *((_DWORD *)v6 + 231); else v7 = 0; fmt::BasicWriter::operator<<(v17, *((unsigned int *)i + 4)); v12 = *(_OWORD *)fmt::BasicStringRef::BasicStringRef(v14, v18); fmt::BasicWriter::operator<<(v17, &v12); fmt::BasicWriter::operator<<(v17, v7); v12 = *(_OWORD *)fmt::BasicStringRef::BasicStringRef(v13, v18); fmt::BasicWriter::operator<<(v17, &v12); } v8 = (_BYTE *)fmt::BasicWriter::c_str(v17); *(_OWORD *)Block = 0; si128 = 0; v9 = -1; do ++v9; while ( v8[v9] ); sub_14003D230(Block, v8, v9); v12 = *(_OWORD *)fmt::BasicStringRef::BasicStringRef(v13, Block); fmt::BasicWriter::operator<<(a1, &v12); v12 = *(_OWORD *)fmt::BasicStringRef::BasicStringRef(v13, a1 + 528); fmt::BasicWriter::operator<<(a1, &v12); if ( si128.m128i_i64[1] > 0xFuLL ) { v10 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v10 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v10 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v10); } si128 = _mm_load_si128((const __m128i *)&Size); LOBYTE(Block[0]) = 0; sub_14003D310((__int64)v18); return fmt::BasicWriter::~BasicWriter(v17); }
GD Web Decomp Icon

GD Web Decomp

Raw Source