{"type": "func", "start": 5462936, "end": 5462956, "name": "EditorUI::smartTypeForKey", "pseudocode": "// \n// EditorUI::smartTypeForKey from 0x535b98 to 0x535bac (20 bytes)\n// \n// 2 xrefs:\n// > SetupSmartBlockLayer::onCreate @ 0x53d54c\n// > SelectArtLayer::init @ 0x5708ec\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 EditorUI::smartTypeForKey(int a1)\n{\n  if ( (unsigned int)a1 > 0xB )\n    return 2703;\n  else\n    return word_9AD29C[a1];\n}", "assembly": "; \n; EditorUI::smartTypeForKey from 0x535b98 to 0x535bac (20 bytes)\n; \n; 2 xrefs:\n; > SetupSmartBlockLayer::onCreate @ 0x53d54c\n; > SelectArtLayer::init @ 0x5708ec\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\nCMP             R0, #0xB                                               ; +0x0, 0x535b98\nBHI             loc_535BA6                                             ; +0x2, 0x535b9a\nLDR             R3, =(word_9AD29C - 0x535BA2)                          ; +0x4, 0x535b9c\nADD             R3, PC; word_9AD29C                                    ; +0x6, 0x535b9e\nLDRSH.W         R0, [R3,R0,LSL#1]                                      ; +0x8, 0x535ba0\nBX              LR                                                     ; +0xc, 0x535ba4\nMOVW            R0, #0xA8F                                             ; +0xe, 0x535ba6\nBX              LR                                                     ; +0x12, 0x535baa", "xrefs": ["SetupSmartBlockLayer::onCreate @ 0x53d54c", "SelectArtLayer::init @ 0x5708ec"], "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"}