{"type": "func", "start": 4294998748, "end": 4294998784, "name": "GJSmartTemplate::smartTypeToObjectKey", "pseudocode": "// \n// GJSmartTemplate::smartTypeToObjectKey from 0x100007adc to 0x100007b00 (36 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createPrefab @ 0x1003f2418\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall GJSmartTemplate::smartTypeToObjectKey(SmartBlockType a1)\n{\n  if ( (unsigned int)(a1 - 50) > 0x1A )\n    return 2895;\n  else\n    return *(_DWORD *)&aP_3[4 * (a1 - 50)];\n}", "assembly": "; \n; GJSmartTemplate::smartTypeToObjectKey from 0x100007adc to 0x100007b00 (36 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createPrefab @ 0x1003f2418\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             W8, W0, #0x32 ; '2'                                    ; +0x0, 0x100007adc\nCMP             W8, #0x1A                                              ; +0x4, 0x100007ae0\nB.HI            loc_100007AF8                                          ; +0x8, 0x100007ae4\nADRL            X9, aP_3; \"P\\v\"                                        ; +0xc, 0x100007ae8\nLDR             W0, [X9,W8,UXTW#2]                                     ; +0x14, 0x100007af0\nRET                                                                    ; +0x18, 0x100007af4\nMOV             W0, #0xB4F                                             ; +0x1c, 0x100007af8\nRET                                                                    ; +0x20, 0x100007afc", "xrefs": ["EditorUI::createPrefab @ 0x1003f2418"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}