{"type": "func", "start": 4299241264, "end": 4299241295, "name": "GJSmartTemplate::smartTypeToObjectKey", "pseudocode": "// \n// GJSmartTemplate::smartTypeToObjectKey from 0x100413730 to 0x10041374f (31 bytes)\n// \n// 2 xrefs:\n// > EditorUI::createPrefab @ 0x100014962\n// > EditorUI::createPrefab @ 0x100014b23\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:30:10 +0000\n// \n\n__int64 __fastcall GJSmartTemplate::smartTypeToObjectKey(int a1)\n{\n  unsigned int v1; // edi\n  __int64 result; // rax\n\n  v1 = a1 - 50;\n  result = 2895;\n  if ( v1 <= 0x1A )\n    return *(unsigned int *)&aP_2[4 * v1];\n  return result;\n}", "assembly": "; \n; GJSmartTemplate::smartTypeToObjectKey from 0x100413730 to 0x10041374f (31 bytes)\n; \n; 2 xrefs:\n; > EditorUI::createPrefab @ 0x100014962\n; > EditorUI::createPrefab @ 0x100014b23\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:30:10 +0000\n; \npush    rbp                                                            ; +0x0, 0x100413730\nmov     rbp, rsp                                                       ; +0x1, 0x100413731\nadd     edi, 0FFFFFFCEh                                                ; +0x4, 0x100413734\nmov     eax, 0B4Fh                                                     ; +0x7, 0x100413737\ncmp     edi, 1Ah                                                       ; +0xc, 0x10041373c\nja      short loc_10041374D                                            ; +0xf, 0x10041373f\nmov     eax, edi                                                       ; +0x11, 0x100413741\nlea     rcx, aP_2; \"P\\v\"                                               ; +0x13, 0x100413743\nmov     eax, [rcx+rax*4]                                               ; +0x1a, 0x10041374a\npop     rbp                                                            ; +0x1d, 0x10041374d\nretn                                                                   ; +0x1e, 0x10041374e", "xrefs": ["EditorUI::createPrefab @ 0x100014962", "EditorUI::createPrefab @ 0x100014b23"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}