// // sub_1800DAD10 from 0x1800dad10 to 0x1800dadc4 (180 bytes) // // 4 xrefs: // > sub_1800D41F0 @ 0x1800d421f // > sub_1800DADD0 @ 0x1800dafb2 // > sub_1800DB550 @ 0x1800db582 // > @ 0x1801bac38 // // 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_1800DAD10(__int64 a1, int *a2) { DWORD dmBitsPerPel; // ecx DEVMODEW DevMode; // [rsp+20h] [rbp-F8h] BYREF memset(&DevMode, 0, sizeof(DevMode)); DevMode.dmSize = 220; EnumDisplaySettingsW((LPCWSTR)(a1 + 264), 0xFFFFFFFF, &DevMode); dmBitsPerPel = DevMode.dmBitsPerPel; *a2 = DevMode.dmPelsWidth; a2[1] = DevMode.dmPelsHeight; a2[5] = DevMode.dmDisplayFrequency; return sub_1800D40E0(dmBitsPerPel, a2 + 2, a2 + 3, a2 + 4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source