// // sub_100578DAC from 0x100578dac to 0x100578e50 (164 bytes) // // 2 xrefs: // > @ 0x10082e958 // > @ 0x10082e9d8 // // 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_100578DAC(__int64 *a1) { __int64 v1; // x19 void *v2; // x0 char **v4; // x8 v1 = *a1; *((_BYTE *)a1 + 736) = 0; if ( *((_BYTE *)a1 + 740) && !*(_BYTE *)(v1 + 1298) ) { if ( (char **)a1[100] == &off_10082E950 ) v4 = &off_10082EA80; else v4 = &off_10082EB00; a1[100] = (__int64)v4; return ((__int64 (*)(void))v4[1])(); } else { v2 = off_10085DED0(0x28u, 1u); *(_QWORD *)(v1 + 536) = v2; if ( v2 ) { ++*(_QWORD *)(v1 + 35584); return 0; } else { return 27; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source