//
// sub_1800DECD0 from 0x1800decd0 to 0x1800ded1a (74 bytes)
//
// 2 xrefs:
// > sub_1800DDC10 @ 0x1800de079
// > ??> @ 0x1801baf2c
//
// 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 *__fastcall sub_1800DECD0(_QWORD *a1))(_QWORD, _QWORD)
{
if ( a1 == sub_1800D99B0((__int64)&unk_1801AB18C) )
return (__int64 (__fastcall *)(_QWORD, _QWORD))eglSwapBuffers(qword_1801AC168, a1[84]);
else
return sub_1800D3530(0x10008u, "EGL: The context must be current on the calling thread when swapping buffers");
}