//
// GJSmartTemplate::smartTypeToObjectKey from 0x100426ac0 to 0x100426adf (31 bytes)
//
// 2 xrefs:
// > EditorUI::createPrefab @ 0x1000439cc
// > EditorUI::createPrefab @ 0x100043b93
//
// 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
//
int __fastcall GJSmartTemplate::smartTypeToObjectKey(SmartBlockType a1)
{
unsigned __int32 v1; // edi
int result; // eax
v1 = a1 - 50;
result = 2895;
if ( v1 <= 0x1A )
return *(_DWORD *)&aP_1[4 * v1];
return result;
}