//
// GJSmartTemplate::getSimplifiedType from 0x66e8d4 to 0x66e8f2 (30 bytes)
//
// 4 xrefs:
// > GJSmartTemplate::getSimplifiedKey @ 0x66fc78
// > GJSmartTemplate::getSimplifiedKey @ 0x66fc84
// > GJSmartTemplate::getSimplifiedKey @ 0x66fc8e
// > GJSmartTemplate::getSimplifiedKey @ 0x66fc98
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:49 +0000
//
int __fastcall GJSmartTemplate::getSimplifiedType(int result, _BYTE *a2)
{
if ( (unsigned int)(result - 50) <= 0x1A && ((1 << (result - 50)) & 0x7FF80FF) != 0 )
{
*a2 = 1;
return 49;
}
return result;
}