// // GJSmartTemplate::smartTypeToObjectKey from 0xb0ca04 to 0xb0ca40 (60 bytes) // // 4 xrefs: // > EditorUI::createPrefab @ 0x7c9d18 // > GJSmartBlockPreview::addTemplateGuide @ 0xb0fb7c // > GJSmartBlockPreview::addTemplateGuide @ 0xb0fd10 // > @ 0x9f628 // // This function is hookable on this platform (idp: arm, 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 13:01:26 +0000 // __int64 __fastcall GJSmartTemplate::smartTypeToObjectKey(int a1) { __int64 result; // x0 switch ( a1 ) { case '2': case '3': case '4': case '5': result = 2896; break; case '6': case '7': case '8': case '9': case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': result = 2897; break; default: result = 2895; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source