// // sub_100582D80 from 0x100582d80 to 0x100582eb0 (304 bytes) // // 7 xrefs: // > sub_10058212C @ 0x1005821b8 // > sub_10058212C @ 0x1005823d0 // > sub_100582418 @ 0x100582538 // > sub_100582418 @ 0x100582618 // > sub_100582418 @ 0x10058267c // > sub_100582418 @ 0x1005829c0 // > sub_100582418 @ 0x100582ab8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_100582D80(__int64 a1, char a2, const void *a3, size_t a4) { __int64 v7; // x22 __int64 v8; // x8 pid_t v9; // w0 __int64 v10; // x20 __int64 result; // x0 __int64 v12; // x8 __int64 v13; // [xsp+8h] [xbp-38h] BYREF v7 = *(_QWORD *)a1; v8 = *(_QWORD *)(*(_QWORD *)a1 + 536LL); *(_DWORD *)(v7 + 18801) = 0; *(_QWORD *)(v7 + 18793) = 0; *(_QWORD *)(v7 + 18785) = 0; *(_QWORD *)(v7 + 18777) = 0; *(_QWORD *)(v7 + 18769) = 0; *(_WORD *)(v7 + 18771) = (unsigned __int8)((unsigned __int16)(a4 + 32) >> 8) | (unsigned __int16)(((_WORD)a4 + 32) << 8); *(_DWORD *)(v7 + 18773) = 1112364031; *(_BYTE *)(v7 + 18777) = a2; *(_BYTE *)(v7 + 18782) = 24; *(_WORD *)(v7 + 18783) = 65; *(_WORD *)(v7 + 18801) = *(_WORD *)(a1 + 1372); *(_WORD *)(v7 + 18797) = *(_WORD *)(v8 + 24); v9 = getpid(); *(_WORD *)(v7 + 18785) = HIWORD(v9); *(_WORD *)(v7 + 18799) = v9; memcpy((void *)(*(_QWORD *)a1 + 18805LL), a3, a4); v10 = a4 + 36; result = sub_100552950(a1, 0, *(_QWORD *)a1 + 18769LL, v10, &v13); if ( !(_DWORD)result ) { v12 = v13; if ( v13 != v10 ) { *(_QWORD *)(a1 + 1392) = v10; *(_QWORD *)(a1 + 1400) = v12; } *(_QWORD *)(a1 + 1384) = 0; return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source