{"type": "func", "start": 6731964, "end": 6732520, "name": "EditorUI::edgeForObject", "pseudocode": "// \n// EditorUI::edgeForObject from 0x66b8bc to 0x66bae8 (556 bytes)\n// \n// 1 xrefs:\n// > EditorUI::createEdgeForObject @ 0x66bb02\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:55:45 +0000\n// \n\nint __fastcall EditorUI::edgeForObject(EditorUI *this, int a2, int a3)\n{\n  int result; // r0\n  bool v4; // zf\n\n  if ( a2 > 1433 )\n  {\n    if ( a2 == 1462 )\n    {\n      switch ( a3 )\n      {\n        case 0:\n          result = 1630;\n          break;\n        case 1:\n          result = 1627;\n          break;\n        case 2:\n          result = 1634;\n          break;\n        case 3:\n          result = 1623;\n          break;\n        case 4:\n          result = 1642;\n          break;\n        case 5:\n          result = 1644;\n          break;\n        case 6:\n          result = 1643;\n          break;\n        case 7:\n          result = 1641;\n          break;\n        default:\n          return 0;\n      }\n    }\n    else if ( a2 > 1462 )\n    {\n      if ( a2 == 1463 )\n      {\n        switch ( a3 )\n        {\n          case 0:\n            result = 1631;\n            break;\n          case 1:\n            result = 1626;\n            break;\n          case 2:\n            result = 1635;\n            break;\n          case 3:\n            result = 1622;\n            break;\n          case 4:\n            result = 1646;\n            break;\n          case 5:\n            result = 1648;\n            break;\n          case 6:\n            result = 1647;\n            break;\n          case 7:\n            result = 1645;\n            break;\n          default:\n            return 0;\n        }\n      }\n      else\n      {\n        if ( a2 != 1464 )\n          return 0;\n        switch ( a3 )\n        {\n          case 0:\n            result = 1632;\n            break;\n          case 1:\n            result = 1628;\n            break;\n          case 2:\n            result = 1636;\n            break;\n          case 3:\n            result = 1624;\n            break;\n          case 4:\n            result = 1650;\n            break;\n          case 5:\n            result = 1652;\n            break;\n          case 6:\n            result = 1651;\n            break;\n          case 7:\n            result = 1649;\n            break;\n          default:\n            return 0;\n        }\n      }\n    }\n    else\n    {\n      if ( a2 != 1461 )\n        return 0;\n      switch ( a3 )\n      {\n        case 0:\n          result = 1629;\n          break;\n        case 1:\n          result = 1625;\n          break;\n        case 2:\n          result = 1633;\n          break;\n        case 3:\n          result = 1621;\n          break;\n        case 4:\n          result = 1638;\n          break;\n        case 5:\n          result = 1640;\n          break;\n        case 6:\n          result = 1639;\n          break;\n        case 7:\n          result = 1637;\n          break;\n        default:\n          return 0;\n      }\n    }\n  }\n  else if ( a2 >= 1431 )\n  {\n    switch ( a3 )\n    {\n      case 0:\n        result = 1435;\n        break;\n      case 1:\n        result = 1436;\n        break;\n      case 2:\n        result = 1437;\n        break;\n      case 3:\n        result = 1434;\n        break;\n      case 4:\n        result = 1439;\n        break;\n      case 5:\n        result = 1441;\n        break;\n      case 6:\n        result = 1440;\n        break;\n      case 7:\n        result = 1438;\n        break;\n      default:\n        return 0;\n    }\n  }\n  else\n  {\n    if ( a2 == 1349 )\n    {\n      if ( a3 == 1 )\n        return 1357;\n      if ( a3 == 4 )\n        return 1364;\n      v4 = a3 == 0;\n      if ( !a3 )\n        result = 1360;\n    }\n    else if ( a2 > 1349 )\n    {\n      if ( a2 == 1350 )\n      {\n        if ( a3 == 3 )\n          return 1356;\n        if ( a3 == 6 )\n          return 1365;\n        v4 = a3 == 2;\n        result = 1361;\n      }\n      else\n      {\n        if ( a2 != 1351 )\n          return 0;\n        if ( a3 == 2 )\n          return 1362;\n        if ( a3 == 5 )\n          return 1366;\n        v4 = a3 == 1;\n        result = 1358;\n      }\n    }\n    else\n    {\n      if ( a2 != 1348 )\n        return 0;\n      if ( a3 == 3 )\n        return 1395;\n      if ( a3 == 7 )\n        return 1363;\n      v4 = a3 == 0;\n      result = 1359;\n    }\n    if ( !v4 )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::edgeForObject from 0x66b8bc to 0x66bae8 (556 bytes)\n; \n; 1 xrefs:\n; > EditorUI::createEdgeForObject @ 0x66bb02\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:55:45 +0000\n; \nMOVW            R3, #0x599                                             ; +0x0, 0x66b8bc\nCMP             R1, R3                                                 ; +0x4, 0x66b8c0\nBGT             loc_66B8FC                                             ; +0x6, 0x66b8c2\nMOVW            R3, #0x597                                             ; +0x8, 0x66b8c4\nCMP             R1, R3                                                 ; +0xc, 0x66b8c8\nBGE.W           loc_66BA8C                                             ; +0xe, 0x66b8ca\nMOVW            R3, #0x545                                             ; +0x12, 0x66b8ce\nCMP             R1, R3                                                 ; +0x16, 0x66b8d2\nBEQ.W           loc_66BA32                                             ; +0x18, 0x66b8d4\nBGT             loc_66B8E6                                             ; +0x1c, 0x66b8d8\nMOVW            R3, #0x544                                             ; +0x1e, 0x66b8da\nCMP             R1, R3                                                 ; +0x22, 0x66b8de\nBEQ.W           loc_66BA16                                             ; +0x24, 0x66b8e0\nB               def_66B926; jumptable 0066B926 default case            ; +0x28, 0x66b8e4\nMOVW            R3, #0x546                                             ; +0x2a, 0x66b8e6\nCMP             R1, R3                                                 ; +0x2e, 0x66b8ea\nBEQ.W           loc_66BA54                                             ; +0x30, 0x66b8ec\nMOVW            R3, #0x547                                             ; +0x34, 0x66b8f0\nCMP             R1, R3                                                 ; +0x38, 0x66b8f4\nBEQ.W           loc_66BA70                                             ; +0x3a, 0x66b8f6\nB               def_66B926; jumptable 0066B926 default case            ; +0x3e, 0x66b8fa\nMOVW            R3, #0x5B6                                             ; +0x40, 0x66b8fc\nCMP             R1, R3                                                 ; +0x44, 0x66b900\nBEQ             loc_66B964                                             ; +0x46, 0x66b902\nBGT             loc_66B910                                             ; +0x48, 0x66b904\nMOVW            R3, #0x5B5                                             ; +0x4a, 0x66b906\nCMP             R1, R3                                                 ; +0x4e, 0x66b90a\nBEQ             loc_66B920                                             ; +0x50, 0x66b90c\nB               def_66B926; jumptable 0066B926 default case            ; +0x52, 0x66b90e\nMOVW            R3, #0x5B7                                             ; +0x54, 0x66b910\nCMP             R1, R3                                                 ; +0x58, 0x66b914\nBEQ             loc_66B9A0                                             ; +0x5a, 0x66b916\nCMP.W           R1, #0x5B8                                             ; +0x5c, 0x66b918\nBEQ             loc_66B9DC                                             ; +0x60, 0x66b91c\nB               def_66B926; jumptable 0066B926 default case            ; +0x62, 0x66b91e\nCMP             R2, #7; switch 8 cases                                 ; +0x64, 0x66b920\nBHI.W           def_66B926; jumptable 0066B926 default case            ; +0x66, 0x66b922\nTBH.W           [PC,R2,LSL#1]; switch jump                             ; +0x6a, 0x66b926\nDCW 0xD0; jump table for switch statement                              ; +0x6e, 0x66b92a\nDCW 8                                                                  ; +0x70, 0x66b92c\nDCW 0xB                                                                ; +0x72, 0x66b92e\nDCW 0xE                                                                ; +0x74, 0x66b930\nDCW 0x11                                                               ; +0x76, 0x66b932\nDCW 0x14                                                               ; +0x78, 0x66b934\nDCW 0x17                                                               ; +0x7a, 0x66b936\nDCW 0x1A                                                               ; +0x7c, 0x66b938\nMOVW            R0, #0x659; jumptable 0066B926 case 1                  ; +0x7e, 0x66b93a\nBX              LR                                                     ; +0x82, 0x66b93e\nMOVW            R0, #0x661; jumptable 0066B926 case 2                  ; +0x84, 0x66b940\nBX              LR                                                     ; +0x88, 0x66b944\nMOVW            R0, #0x655; jumptable 0066B926 case 3                  ; +0x8a, 0x66b946\nBX              LR                                                     ; +0x8e, 0x66b94a\nMOVW            R0, #0x666; jumptable 0066B926 case 4                  ; +0x90, 0x66b94c\nBX              LR                                                     ; +0x94, 0x66b950\nMOV.W           R0, #0x668; jumptable 0066B926 case 5                  ; +0x96, 0x66b952\nBX              LR                                                     ; +0x9a, 0x66b956\nMOVW            R0, #0x667; jumptable 0066B926 case 6                  ; +0x9c, 0x66b958\nBX              LR                                                     ; +0xa0, 0x66b95c\nMOVW            R0, #0x665; jumptable 0066B926 case 7                  ; +0xa2, 0x66b95e\nBX              LR                                                     ; +0xa6, 0x66b962\nCMP             R2, #7; switch 8 cases                                 ; +0xa8, 0x66b964\nBHI.W           def_66B926; jumptable 0066B926 default case            ; +0xaa, 0x66b966\nTBB.W           [PC,R2]; switch jump                                   ; +0xae, 0x66b96a\nDCB 0xB1; jump table for switch statement                              ; +0xb2, 0x66b96e\nDCB 4                                                                  ; +0xb3, 0x66b96f\nDCB 7                                                                  ; +0xb4, 0x66b970\nDCB 0xA                                                                ; +0xb5, 0x66b971\nDCB 0xD                                                                ; +0xb6, 0x66b972\nDCB 0x10                                                               ; +0xb7, 0x66b973\nDCB 0x13                                                               ; +0xb8, 0x66b974\nDCB 0x16                                                               ; +0xb9, 0x66b975\nMOVW            R0, #0x65B; jumptable 0066B96A case 1                  ; +0xba, 0x66b976\nBX              LR                                                     ; +0xbe, 0x66b97a\nMOVW            R0, #0x662; jumptable 0066B96A case 2                  ; +0xc0, 0x66b97c\nBX              LR                                                     ; +0xc4, 0x66b980\nMOVW            R0, #0x657; jumptable 0066B96A case 3                  ; +0xc6, 0x66b982\nBX              LR                                                     ; +0xca, 0x66b986\nMOVW            R0, #0x66A; jumptable 0066B96A case 4                  ; +0xcc, 0x66b988\nBX              LR                                                     ; +0xd0, 0x66b98c\nMOVW            R0, #0x66C; jumptable 0066B96A case 5                  ; +0xd2, 0x66b98e\nBX              LR                                                     ; +0xd6, 0x66b992\nMOVW            R0, #0x66B; jumptable 0066B96A case 6                  ; +0xd8, 0x66b994\nBX              LR                                                     ; +0xdc, 0x66b998\nMOVW            R0, #0x669; jumptable 0066B96A case 7                  ; +0xde, 0x66b99a\nBX              LR                                                     ; +0xe2, 0x66b99e\nCMP             R2, #7; switch 8 cases                                 ; +0xe4, 0x66b9a0\nBHI.W           def_66B926; jumptable 0066B926 default case            ; +0xe6, 0x66b9a2\nTBB.W           [PC,R2]; switch jump                                   ; +0xea, 0x66b9a6\nDCB 0x96; jump table for switch statement                              ; +0xee, 0x66b9aa\nDCB 4                                                                  ; +0xef, 0x66b9ab\nDCB 7                                                                  ; +0xf0, 0x66b9ac\nDCB 0xA                                                                ; +0xf1, 0x66b9ad\nDCB 0xD                                                                ; +0xf2, 0x66b9ae\nDCB 0x10                                                               ; +0xf3, 0x66b9af\nDCB 0x13                                                               ; +0xf4, 0x66b9b0\nDCB 0x16                                                               ; +0xf5, 0x66b9b1\nMOVW            R0, #0x65A; jumptable 0066B9A6 case 1                  ; +0xf6, 0x66b9b2\nBX              LR                                                     ; +0xfa, 0x66b9b6\nMOVW            R0, #0x663; jumptable 0066B9A6 case 2                  ; +0xfc, 0x66b9b8\nBX              LR                                                     ; +0x100, 0x66b9bc\nMOVW            R0, #0x656; jumptable 0066B9A6 case 3                  ; +0x102, 0x66b9be\nBX              LR                                                     ; +0x106, 0x66b9c2\nMOVW            R0, #0x66E; jumptable 0066B9A6 case 4                  ; +0x108, 0x66b9c4\nBX              LR                                                     ; +0x10c, 0x66b9c8\nMOV.W           R0, #0x670; jumptable 0066B9A6 case 5                  ; +0x10e, 0x66b9ca\nBX              LR                                                     ; +0x112, 0x66b9ce\nMOVW            R0, #0x66F; jumptable 0066B9A6 case 6                  ; +0x114, 0x66b9d0\nBX              LR                                                     ; +0x118, 0x66b9d4\nMOVW            R0, #0x66D; jumptable 0066B9A6 case 7                  ; +0x11a, 0x66b9d6\nBX              LR                                                     ; +0x11e, 0x66b9da\nCMP             R2, #7; switch 8 cases                                 ; +0x120, 0x66b9dc\nBHI             def_66B926; jumptable 0066B926 default case            ; +0x122, 0x66b9de\nTBB.W           [PC,R2]; switch jump                                   ; +0x124, 0x66b9e0\nDCB 0x7C; jump table for switch statement                              ; +0x128, 0x66b9e4\nDCB 4                                                                  ; +0x129, 0x66b9e5\nDCB 7                                                                  ; +0x12a, 0x66b9e6\nDCB 0xA                                                                ; +0x12b, 0x66b9e7\nDCB 0xD                                                                ; +0x12c, 0x66b9e8\nDCB 0x10                                                               ; +0x12d, 0x66b9e9\nDCB 0x13                                                               ; +0x12e, 0x66b9ea\nDCB 0x16                                                               ; +0x12f, 0x66b9eb\nMOVW            R0, #0x65C; jumptable 0066B9E0 case 1                  ; +0x130, 0x66b9ec\nBX              LR                                                     ; +0x134, 0x66b9f0\nMOVW            R0, #0x664; jumptable 0066B9E0 case 2                  ; +0x136, 0x66b9f2\nBX              LR                                                     ; +0x13a, 0x66b9f6\nMOV.W           R0, #0x658; jumptable 0066B9E0 case 3                  ; +0x13c, 0x66b9f8\nBX              LR                                                     ; +0x140, 0x66b9fc\nMOVW            R0, #0x672; jumptable 0066B9E0 case 4                  ; +0x142, 0x66b9fe\nBX              LR                                                     ; +0x146, 0x66ba02\nMOVW            R0, #0x674; jumptable 0066B9E0 case 5                  ; +0x148, 0x66ba04\nBX              LR                                                     ; +0x14c, 0x66ba08\nMOVW            R0, #0x673; jumptable 0066B9E0 case 6                  ; +0x14e, 0x66ba0a\nBX              LR                                                     ; +0x152, 0x66ba0e\nMOVW            R0, #0x671; jumptable 0066B9E0 case 7                  ; +0x154, 0x66ba10\nBX              LR                                                     ; +0x158, 0x66ba14\nCMP             R2, #3                                                 ; +0x15a, 0x66ba16\nBEQ             loc_66BA26                                             ; +0x15c, 0x66ba18\nCMP             R2, #7                                                 ; +0x15e, 0x66ba1a\nBEQ             loc_66BA2C                                             ; +0x160, 0x66ba1c\nCMP             R2, #0                                                 ; +0x162, 0x66ba1e\nMOVW            R0, #0x54F                                             ; +0x164, 0x66ba20\nB               loc_66BA42                                             ; +0x168, 0x66ba24\nMOVW            R0, #0x573                                             ; +0x16a, 0x66ba26\nBX              LR                                                     ; +0x16e, 0x66ba2a\nMOVW            R0, #0x553                                             ; +0x170, 0x66ba2c\nBX              LR                                                     ; +0x174, 0x66ba30\nCMP             R2, #1                                                 ; +0x176, 0x66ba32\nBEQ             loc_66BA48                                             ; +0x178, 0x66ba34\nCMP             R2, #4                                                 ; +0x17a, 0x66ba36\nBEQ             loc_66BA4E                                             ; +0x17c, 0x66ba38\nCMP             R2, #0                                                 ; +0x17e, 0x66ba3a\nIT EQ                                                                  ; +0x180, 0x66ba3c\nMOVEQ.W         R0, #0x550                                             ; +0x182, 0x66ba3e\nIT NE                                                                  ; +0x186, 0x66ba42\nMOVNE           R0, #0                                                 ; +0x188, 0x66ba44\nBX              LR                                                     ; +0x18a, 0x66ba46\nMOVW            R0, #0x54D                                             ; +0x18c, 0x66ba48\nBX              LR                                                     ; +0x190, 0x66ba4c\nMOVW            R0, #0x554                                             ; +0x192, 0x66ba4e\nBX              LR                                                     ; +0x196, 0x66ba52\nCMP             R2, #3                                                 ; +0x198, 0x66ba54\nBEQ             loc_66BA64                                             ; +0x19a, 0x66ba56\nCMP             R2, #6                                                 ; +0x19c, 0x66ba58\nBEQ             loc_66BA6A                                             ; +0x19e, 0x66ba5a\nCMP             R2, #2                                                 ; +0x1a0, 0x66ba5c\nMOVW            R0, #0x551                                             ; +0x1a2, 0x66ba5e\nB               loc_66BA42                                             ; +0x1a6, 0x66ba62\nMOVW            R0, #0x54C                                             ; +0x1a8, 0x66ba64\nBX              LR                                                     ; +0x1ac, 0x66ba68\nMOVW            R0, #0x555                                             ; +0x1ae, 0x66ba6a\nBX              LR                                                     ; +0x1b2, 0x66ba6e\nCMP             R2, #2                                                 ; +0x1b4, 0x66ba70\nBEQ             loc_66BA80                                             ; +0x1b6, 0x66ba72\nCMP             R2, #5                                                 ; +0x1b8, 0x66ba74\nBEQ             loc_66BA86                                             ; +0x1ba, 0x66ba76\nCMP             R2, #1                                                 ; +0x1bc, 0x66ba78\nMOVW            R0, #0x54E                                             ; +0x1be, 0x66ba7a\nB               loc_66BA42                                             ; +0x1c2, 0x66ba7e\nMOVW            R0, #0x552                                             ; +0x1c4, 0x66ba80\nBX              LR                                                     ; +0x1c8, 0x66ba84\nMOVW            R0, #0x556                                             ; +0x1ca, 0x66ba86\nBX              LR                                                     ; +0x1ce, 0x66ba8a\nCMP             R2, #7; switch 8 cases                                 ; +0x1d0, 0x66ba8c\nBHI             def_66B926; jumptable 0066B926 default case            ; +0x1d2, 0x66ba8e\nTBB.W           [PC,R2]; switch jump                                   ; +0x1d4, 0x66ba90\nDCB 0x27; jump table for switch statement                              ; +0x1d8, 0x66ba94\nDCB 4                                                                  ; +0x1d9, 0x66ba95\nDCB 7                                                                  ; +0x1da, 0x66ba96\nDCB 0xA                                                                ; +0x1db, 0x66ba97\nDCB 0xD                                                                ; +0x1dc, 0x66ba98\nDCB 0x10                                                               ; +0x1dd, 0x66ba99\nDCB 0x13                                                               ; +0x1de, 0x66ba9a\nDCB 0x16                                                               ; +0x1df, 0x66ba9b\nMOVW            R0, #0x59C; jumptable 0066BA90 case 1                  ; +0x1e0, 0x66ba9c\nBX              LR                                                     ; +0x1e4, 0x66baa0\nMOVW            R0, #0x59D; jumptable 0066BA90 case 2                  ; +0x1e6, 0x66baa2\nBX              LR                                                     ; +0x1ea, 0x66baa6\nMOVW            R0, #0x59A; jumptable 0066BA90 case 3                  ; +0x1ec, 0x66baa8\nBX              LR                                                     ; +0x1f0, 0x66baac\nMOVW            R0, #0x59F; jumptable 0066BA90 case 4                  ; +0x1f2, 0x66baae\nBX              LR                                                     ; +0x1f6, 0x66bab2\nMOVW            R0, #0x5A1; jumptable 0066BA90 case 5                  ; +0x1f8, 0x66bab4\nBX              LR                                                     ; +0x1fc, 0x66bab8\nMOV.W           R0, #0x5A0; jumptable 0066BA90 case 6                  ; +0x1fe, 0x66baba\nBX              LR                                                     ; +0x202, 0x66babe\nMOVW            R0, #0x59E; jumptable 0066BA90 case 7                  ; +0x204, 0x66bac0\nBX              LR                                                     ; +0x208, 0x66bac4\nMOVS            R0, #0; jumptable 0066B926 default case                ; +0x20a, 0x66bac6\nBX              LR                                                     ; +0x20c, 0x66bac8\nMOVW            R0, #0x65D; jumptable 0066B926 case 0                  ; +0x20e, 0x66baca\nBX              LR                                                     ; +0x212, 0x66bace\nMOVW            R0, #0x65E; jumptable 0066B96A case 0                  ; +0x214, 0x66bad0\nBX              LR                                                     ; +0x218, 0x66bad4\nMOVW            R0, #0x65F; jumptable 0066B9A6 case 0                  ; +0x21a, 0x66bad6\nBX              LR                                                     ; +0x21e, 0x66bada\nMOV.W           R0, #0x660; jumptable 0066B9E0 case 0                  ; +0x220, 0x66badc\nBX              LR                                                     ; +0x224, 0x66bae0\nMOVW            R0, #0x59B; jumptable 0066BA90 case 0                  ; +0x226, 0x66bae2\nBX              LR                                                     ; +0x22a, 0x66bae6", "xrefs": ["EditorUI::createEdgeForObject @ 0x66bb02"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}