// // sub_1800DF1F0 from 0x1800df1f0 to 0x1800df2bf (207 bytes) // // 2 xrefs: // > sub_1800DED30 @ 0x1800deee6 // > @ 0x1801baf80 // // 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 // unsigned int __fastcall sub_1800DF1F0(__int64 a1) { void *v2; // rdx void *v3; // rax LONG v4; // r9d LONG v6; // [rsp+40h] [rbp+8h] BYREF LONG v7; // [rsp+48h] [rbp+10h] BYREF if ( !a1 ) return sub_1800D99D0((__int64)&unk_1801AB18C, (void *)a1); sub_1800D6780(a1, &v6, &v7); v2 = *(void **)(a1 + 704); if ( !v2 || v6 != *(_DWORD *)(a1 + 696) || v7 != *(_DWORD *)(a1 + 700) ) { free(*(void **)(a1 + 704)); v3 = calloc(4u, v7 * (__int64)v6); v4 = v6; v2 = v3; *(_QWORD *)(a1 + 704) = v3; *(_DWORD *)(a1 + 700) = v7; *(_DWORD *)(a1 + 696) = v4; } if ( (unsigned int)OSMesaMakeCurrent(*(_QWORD *)(a1 + 688), v2, 5121) ) return sub_1800D99D0((__int64)&unk_1801AB18C, (void *)a1); else return (unsigned int)sub_1800D3530(0x10008u, "OSMesa: Failed to make context current"); }
GD Web Decomp Icon

GD Web Decomp

Raw Source