// // sub_1005746D0 from 0x1005746d0 to 0x1005747ac (220 bytes) // // 1 xrefs: // > sub_10055CD64 @ 0x10055fc04 // // 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 // _QWORD *__fastcall sub_1005746D0(const char *a1) { _QWORD *v2; // x19 _BYTE *v3; // x21 size_t v4; // x0 v2 = off_10085DED0(1u, 0x30u); if ( !v2 ) return nullptr; v3 = off_10085DED0(1u, 0x6Au); v2[4] = v3; if ( v3 ) { v4 = strlen(a1); if ( v4 < 0x68 ) { *((_DWORD *)v2 + 1) = 1; *((_DWORD *)v2 + 2) = 1; *((_DWORD *)v2 + 4) = 106; v3[1] = 1; memcpy(v3 + 2, a1, v4 + 1); return v2; } off_10085DEB8(v3); ((void (__fastcall *)(_QWORD *))off_10085DEB8)(v2); } else { ((void (__fastcall *)(_QWORD *))off_10085DEB8)(v2); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source