// // GJSmartTemplate::smartTypeToObjectKey from 0x53a098 to 0x53a0c4 (44 bytes) // // 3 xrefs: // > EditorUI::createPrefab @ 0x3a421a // > GJSmartBlockPreview::addTemplateGuide @ 0x53bbb2 // > GJSmartBlockPreview::addTemplateGuide @ 0x53bc86 // // 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 GJSmartTemplate::smartTypeToObjectKey(SmartBlockType a1) { unsigned __int32 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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source