{"type": "func", "start": 4302246144, "end": 4302246422, "name": "EditorUI::edgeForObject", "pseudocode": "// \n// EditorUI::edgeForObject from 0x1006f1100 to 0x1006f1216 (278 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createEdgeForObject @ 0x1006f0f60\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:35:51 +0000\n// \n\n__int64 __fastcall EditorUI::edgeForObject(__int64 a1, int a2, unsigned int a3)\n{\n  __int64 result; // rax\n  unsigned int v4; // edx\n  unsigned int v5; // edx\n\n  switch ( a2 )\n  {\n    case 1431:\n    case 1432:\n    case 1433:\n      if ( a3 >= 8 )\n        goto LABEL_23;\n      return dword_100A11BEC[a3];\n    case 1434:\n    case 1435:\n    case 1436:\n    case 1437:\n    case 1438:\n    case 1439:\n    case 1440:\n    case 1441:\n    case 1442:\n    case 1443:\n    case 1444:\n    case 1445:\n    case 1446:\n    case 1447:\n    case 1448:\n    case 1449:\n    case 1450:\n    case 1451:\n    case 1452:\n    case 1453:\n    case 1454:\n    case 1455:\n    case 1456:\n    case 1457:\n    case 1458:\n    case 1459:\n    case 1460:\n      goto LABEL_23;\n    case 1461:\n      if ( a3 >= 8 )\n        goto LABEL_23;\n      result = dword_100A11B30[a3];\n      break;\n    case 1462:\n      if ( a3 >= 8 )\n        goto LABEL_23;\n      result = dword_100A11B50[a3];\n      break;\n    case 1463:\n      if ( a3 >= 8 )\n        goto LABEL_23;\n      result = dword_100A11B70[a3];\n      break;\n    case 1464:\n      if ( a3 >= 8 )\nLABEL_23:\n        result = 0;\n      else\n        result = dword_100A11B90[a3];\n      break;\n    default:\n      switch ( a2 )\n      {\n        case 1348:\n          if ( a3 )\n          {\n            if ( a3 == 7 )\n            {\n              result = 1363;\n            }\n            else\n            {\n              if ( a3 != 3 )\n                goto LABEL_23;\n              result = 1395;\n            }\n          }\n          else\n          {\n            result = 1359;\n          }\n          break;\n        case 1349:\n          if ( a3 >= 5 )\n            goto LABEL_23;\n          return dword_100A11BB0[a3];\n        case 1350:\n          v4 = a3 - 2;\n          if ( v4 >= 5 )\n            goto LABEL_23;\n          return dword_100A11BC4[v4];\n        case 1351:\n          v5 = a3 - 1;\n          if ( v5 >= 5 )\n            goto LABEL_23;\n          return dword_100A11BD8[v5];\n        default:\n          goto LABEL_23;\n      }\n      break;\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::edgeForObject from 0x1006f1100 to 0x1006f1216 (278 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createEdgeForObject @ 0x1006f0f60\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:35:51 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006f1100\nmov     rbp, rsp                                                       ; +0x1, 0x1006f1101\nlea     eax, [rsi-597h]; switch 34 cases                               ; +0x4, 0x1006f1104\ncmp     eax, 21h                                                       ; +0xa, 0x1006f110a\nja      short def_1006F111D; jumptable 00000001006F111D default case   ; +0xd, 0x1006f110d\nlea     rcx, jpt_1006F111D                                             ; +0xf, 0x1006f110f\nmovsxd  rax, (jpt_1006F111D - 1006F1228h)[rcx+rax*4]                   ; +0x16, 0x1006f1116\nadd     rax, rcx                                                       ; +0x1a, 0x1006f111a\njmp     rax; switch jump                                               ; +0x1d, 0x1006f111d\ncmp     edx, 8; jumptable 00000001006F111D cases 1431-1433             ; +0x1f, 0x1006f111f\njnb     def_1006F1153; jumptable 00000001006F111D cases 1434-1460      ; +0x22, 0x1006f1122\nmov     eax, edx                                                       ; +0x28, 0x1006f1128\nlea     rcx, dword_100A11BEC                                           ; +0x2a, 0x1006f112a\nmov     eax, [rcx+rax*4]                                               ; +0x31, 0x1006f1131\npop     rbp                                                            ; +0x34, 0x1006f1134\nretn                                                                   ; +0x35, 0x1006f1135\nadd     esi, 0FFFFFABCh; jumptable 00000001006F111D default case       ; +0x36, 0x1006f1136\ncmp     esi, 3                                                         ; +0x3c, 0x1006f113c\nja      def_1006F1153; jumptable 00000001006F111D cases 1434-1460      ; +0x3f, 0x1006f113f\nlea     rax, jpt_1006F1153                                             ; +0x45, 0x1006f1145\nmovsxd  rcx, (jpt_1006F1153 - 1006F1218h)[rax+rsi*4]                   ; +0x4c, 0x1006f114c\nadd     rcx, rax                                                       ; +0x50, 0x1006f1150\njmp     rcx; switch jump                                               ; +0x53, 0x1006f1153\ntest    edx, edx; jumptable 00000001006F1153 case 1348                 ; +0x55, 0x1006f1155\njz      loc_1006F120F                                                  ; +0x57, 0x1006f1157\ncmp     edx, 7                                                         ; +0x5d, 0x1006f115d\njz      loc_1006F1208                                                  ; +0x60, 0x1006f1160\ncmp     edx, 3                                                         ; +0x66, 0x1006f1166\njnz     def_1006F1153; jumptable 00000001006F111D cases 1434-1460      ; +0x69, 0x1006f1169\nmov     eax, 573h                                                      ; +0x6f, 0x1006f116f\npop     rbp                                                            ; +0x74, 0x1006f1174\nretn                                                                   ; +0x75, 0x1006f1175\ncmp     edx, 8; jumptable 00000001006F111D case 1462                   ; +0x76, 0x1006f1176\njnb     def_1006F1153; jumptable 00000001006F111D cases 1434-1460      ; +0x79, 0x1006f1179\nmov     eax, edx                                                       ; +0x7f, 0x1006f117f\nlea     rcx, dword_100A11B50                                           ; +0x81, 0x1006f1181\nmov     eax, [rcx+rax*4]                                               ; +0x88, 0x1006f1188\npop     rbp                                                            ; +0x8b, 0x1006f118b\nretn                                                                   ; +0x8c, 0x1006f118c\ncmp     edx, 8; jumptable 00000001006F111D case 1461                   ; +0x8d, 0x1006f118d\njnb     short def_1006F1153; jumptable 00000001006F111D cases 1434-1460 ; +0x90, 0x1006f1190\nmov     eax, edx                                                       ; +0x92, 0x1006f1192\nlea     rcx, dword_100A11B30                                           ; +0x94, 0x1006f1194\nmov     eax, [rcx+rax*4]                                               ; +0x9b, 0x1006f119b\npop     rbp                                                            ; +0x9e, 0x1006f119e\nretn                                                                   ; +0x9f, 0x1006f119f\ncmp     edx, 8; jumptable 00000001006F111D case 1464                   ; +0xa0, 0x1006f11a0\njnb     short def_1006F1153; jumptable 00000001006F111D cases 1434-1460 ; +0xa3, 0x1006f11a3\nmov     eax, edx                                                       ; +0xa5, 0x1006f11a5\nlea     rcx, dword_100A11B90                                           ; +0xa7, 0x1006f11a7\nmov     eax, [rcx+rax*4]                                               ; +0xae, 0x1006f11ae\npop     rbp                                                            ; +0xb1, 0x1006f11b1\nretn                                                                   ; +0xb2, 0x1006f11b2\ncmp     edx, 8; jumptable 00000001006F111D case 1463                   ; +0xb3, 0x1006f11b3\njnb     short def_1006F1153; jumptable 00000001006F111D cases 1434-1460 ; +0xb6, 0x1006f11b6\nmov     eax, edx                                                       ; +0xb8, 0x1006f11b8\nlea     rcx, dword_100A11B70                                           ; +0xba, 0x1006f11ba\nmov     eax, [rcx+rax*4]                                               ; +0xc1, 0x1006f11c1\npop     rbp                                                            ; +0xc4, 0x1006f11c4\nretn                                                                   ; +0xc5, 0x1006f11c5\nadd     edx, 0FFFFFFFEh; jumptable 00000001006F1153 case 1350          ; +0xc6, 0x1006f11c6\ncmp     edx, 5                                                         ; +0xc9, 0x1006f11c9\njnb     short def_1006F1153; jumptable 00000001006F111D cases 1434-1460 ; +0xcc, 0x1006f11cc\nmov     eax, edx                                                       ; +0xce, 0x1006f11ce\nlea     rcx, dword_100A11BC4                                           ; +0xd0, 0x1006f11d0\nmov     eax, [rcx+rax*4]                                               ; +0xd7, 0x1006f11d7\npop     rbp                                                            ; +0xda, 0x1006f11da\nretn                                                                   ; +0xdb, 0x1006f11db\ndec     edx; jumptable 00000001006F1153 case 1351                      ; +0xdc, 0x1006f11dc\ncmp     edx, 5                                                         ; +0xde, 0x1006f11de\njnb     short def_1006F1153; jumptable 00000001006F111D cases 1434-1460 ; +0xe1, 0x1006f11e1\nmov     eax, edx                                                       ; +0xe3, 0x1006f11e3\nlea     rcx, dword_100A11BD8                                           ; +0xe5, 0x1006f11e5\nmov     eax, [rcx+rax*4]                                               ; +0xec, 0x1006f11ec\npop     rbp                                                            ; +0xef, 0x1006f11ef\nretn                                                                   ; +0xf0, 0x1006f11f0\ncmp     edx, 5; jumptable 00000001006F1153 case 1349                   ; +0xf1, 0x1006f11f1\njnb     short def_1006F1153; jumptable 00000001006F111D cases 1434-1460 ; +0xf4, 0x1006f11f4\nmov     eax, edx                                                       ; +0xf6, 0x1006f11f6\nlea     rcx, dword_100A11BB0                                           ; +0xf8, 0x1006f11f8\nmov     eax, [rcx+rax*4]                                               ; +0xff, 0x1006f11ff\npop     rbp                                                            ; +0x102, 0x1006f1202\nretn                                                                   ; +0x103, 0x1006f1203\nxor     eax, eax; jumptable 00000001006F111D cases 1434-1460           ; +0x104, 0x1006f1204\npop     rbp                                                            ; +0x106, 0x1006f1206\nretn                                                                   ; +0x107, 0x1006f1207\nmov     eax, 553h                                                      ; +0x108, 0x1006f1208\npop     rbp                                                            ; +0x10d, 0x1006f120d\nretn                                                                   ; +0x10e, 0x1006f120e\nmov     eax, 54Fh                                                      ; +0x10f, 0x1006f120f\npop     rbp                                                            ; +0x114, 0x1006f1214\nretn                                                                   ; +0x115, 0x1006f1215", "xrefs": ["EditorUI::createEdgeForObject @ 0x1006f0f60"], "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"}