{"type": "func", "start": 4301336832, "end": 4301336860, "name": "EditorUI::smartTypeForKey", "pseudocode": "// \n// EditorUI::smartTypeForKey from 0x100613100 to 0x10061311c (28 bytes)\n// \n// 2 xrefs:\n// > SelectArtLayer::init @ 0x10026fecb\n// > SetupSmartBlockLayer::onCreate @ 0x1004e6d67\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 EditorUI::smartTypeForKey(int a1)\n{\n  int result; // eax\n\n  result = 2703;\n  if ( (unsigned int)a1 <= 0xB )\n    return dword_100822470[a1];\n  return result;\n}", "assembly": "; \n; EditorUI::smartTypeForKey from 0x100613100 to 0x10061311c (28 bytes)\n; \n; 2 xrefs:\n; > SelectArtLayer::init @ 0x10026fecb\n; > SetupSmartBlockLayer::onCreate @ 0x1004e6d67\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\npush    rbp                                                            ; +0x0, 0x100613100\nmov     rbp, rsp                                                       ; +0x1, 0x100613101\nmov     eax, 0A8Fh                                                     ; +0x4, 0x100613104\ncmp     edi, 0Bh                                                       ; +0x9, 0x100613109\nja      short loc_10061311A                                            ; +0xc, 0x10061310c\nmov     eax, edi                                                       ; +0xe, 0x10061310e\nlea     rcx, dword_100822470                                           ; +0x10, 0x100613110\nmov     eax, [rcx+rax*4]                                               ; +0x17, 0x100613117\npop     rbp                                                            ; +0x1a, 0x10061311a\nretn                                                                   ; +0x1b, 0x10061311b", "xrefs": ["SelectArtLayer::init @ 0x10026fecb", "SetupSmartBlockLayer::onCreate @ 0x1004e6d67"], "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"}