//
// sub_10011C7C0 from 0x10011c7c0 to 0x10011c85a (154 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:24:36 +0000
//
__int64 __fastcall sub_10011C7C0(int a1, _DWORD *a2, bool *a3, bool *a4)
{
unsigned int v5; // edi
int v6; // edx
__int64 result; // rax
*a4 = a1 / 1000000 % 10 == 1;
v5 = a1 / 10000000 - 10 * (((unsigned int)(26215 * (a1 / 10000000)) >> 31) + ((26215 * (a1 / 10000000)) >> 18));
*a3 = (_WORD)v5 == 1;
v6 = a1 - 10000000;
if ( (_WORD)v5 != 1 )
v6 = a1;
result = v6 - 1000000 * (unsigned int)*a4 - 100000000;
*a2 = result;
return result;
}