//
// sub_1001EA340 from 0x1001ea340 to 0x1001ea3b4 (116 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:26:31 +0000
//
void __fastcall sub_1001EA340(int a1, int a2, int a3, int a4)
{
if ( dword_100BE7AE0[0] == a1 )
{
if ( dword_100BE7AE4 == a2 )
goto LABEL_3;
}
else
{
dword_100BE7AE0[0] = a1;
byte_100BE8AF0 = 0;
if ( dword_100BE7AE4 == a2 )
{
LABEL_3:
if ( dword_100BE7AE8 == a3 )
goto LABEL_4;
goto LABEL_8;
}
}
dword_100BE7AE4 = a2;
byte_100BE8AF0 = 0;
if ( dword_100BE7AE8 == a3 )
{
LABEL_4:
if ( dword_100BE7AEC == a4 )
return;
LABEL_9:
dword_100BE7AEC = a4;
byte_100BE8AF0 = 0;
return;
}
LABEL_8:
dword_100BE7AE8 = a3;
byte_100BE8AF0 = 0;
if ( dword_100BE7AEC != a4 )
goto LABEL_9;
}