//
// GJSmartTemplate::getSimplifiedType from 0x1004105e0 to 0x100410602 (34 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:30:09 +0000
//
__int64 __fastcall GJSmartTemplate::getSimplifiedType(unsigned int a1, _BYTE *a2)
{
__int64 result; // rax
int v3; // edx
result = a1;
if ( a1 - 50 <= 0x1A )
{
v3 = 134185215;
if ( _bittest(&v3, a1 - 50) )
{
*a2 = 1;
return 49;
}
}
return result;
}