// // sub_1005DEB20 from 0x1005deb20 to 0x1005dec64 (324 bytes) // // 11 xrefs: // > sub_10053F868 @ 0x10053f948 // > sub_100588E38 @ 0x100588f24 // > sub_1005896CC @ 0x100589734 // > sub_100589E58 @ 0x100589ecc // > sub_10058A510 @ 0x10058a558 // > sub_10058A5FC @ 0x10058a640 // > sub_10058A924 @ 0x10058a978 // > sub_1005D7928 @ 0x1005d798c // > sub_1005E1C9C @ 0x1005e1d04 // > sub_1005E2030 @ 0x1005e2098 // > sub_1006118D0 @ 0x1006118fc // // 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 // _BYTE *__fastcall sub_1005DEB20( __int64 (__fastcall *a1)(_QWORD), int (__cdecl **a2)(const char *__s1, const char *__s2)) { _BYTE *v4; // x19 _BYTE *v5; // x0 int (__cdecl **v6)(const char *, const char *); // x9 __int64 (__fastcall *v7)(_QWORD); // x8 v4 = sub_100588710(176, (__int64)"lhash.c", 120); if ( !v4 ) return nullptr; v5 = sub_100588710(128, (__int64)"lhash.c", 122); *(_QWORD *)v4 = v5; if ( !v5 ) { sub_100588C44(v4); return nullptr; } *(_QWORD *)v5 = 0; v6 = &_strcmp; *(_QWORD *)(*(_QWORD *)v4 + 8LL) = 0; v7 = sub_1005DEC64; if ( a2 ) v6 = a2; if ( a1 ) v7 = a1; *(_QWORD *)(*(_QWORD *)v4 + 16LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 24LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 32LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 40LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 48LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 56LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 64LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 72LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 80LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 88LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 96LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 104LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 112LL) = 0; *(_QWORD *)(*(_QWORD *)v4 + 120LL) = 0; *((_QWORD *)v4 + 1) = v6; *((_QWORD *)v4 + 2) = v7; *((_DWORD *)v4 + 6) = 8; *(_QWORD *)(v4 + 28) = 16; *((_DWORD *)v4 + 9) = 8; *((_QWORD *)v4 + 5) = 512; *((_QWORD *)v4 + 6) = 256; memset(v4 + 56, 0, 0x74u); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source