//
// GJSmartTemplate::smartTypeToObjectKey from 0x66edc8 to 0x66edf4 (44 bytes)
//
// 3 xrefs:
// > EditorUI::createPrefab @ 0x487160
// > GJSmartBlockPreview::addTemplateGuide @ 0x6705a2
// > GJSmartBlockPreview::addTemplateGuide @ 0x670690
//
// 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::smartTypeToObjectKey(int a1)
{
unsigned int v1; // r0
int v2; // r3
int result; // r0
v1 = a1 - 50;
if ( v1 > 0x1A )
return 2895;
v2 = 1 << v1;
if ( ((1 << v1) & 0x7FF80F0) != 0 )
return 2897;
result = 2895;
if ( (v2 & 0xF) != 0 )
return 2896;
return result;
}