//
// EditorUI::edgeForObject from 0x100614670 to 0x100614786 (278 bytes)
//
// 1 xrefs:
// > EditorUI::createEdgeForObject @ 0x1006144d0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall EditorUI::edgeForObject(EditorUI *a1, int a2, int a3)
{
int result; // eax
unsigned int v4; // edx
unsigned int v5; // edx
switch ( a2 )
{
case 1431:
case 1432:
case 1433:
if ( (unsigned int)a3 >= 8 )
goto LABEL_23;
return dword_1008225DC[a3];
case 1434:
case 1435:
case 1436:
case 1437:
case 1438:
case 1439:
case 1440:
case 1441:
case 1442:
case 1443:
case 1444:
case 1445:
case 1446:
case 1447:
case 1448:
case 1449:
case 1450:
case 1451:
case 1452:
case 1453:
case 1454:
case 1455:
case 1456:
case 1457:
case 1458:
case 1459:
case 1460:
goto LABEL_23;
case 1461:
if ( (unsigned int)a3 >= 8 )
goto LABEL_23;
result = dword_100822520[a3];
break;
case 1462:
if ( (unsigned int)a3 >= 8 )
goto LABEL_23;
result = dword_100822540[a3];
break;
case 1463:
if ( (unsigned int)a3 >= 8 )
goto LABEL_23;
result = dword_100822560[a3];
break;
case 1464:
if ( (unsigned int)a3 >= 8 )
LABEL_23:
result = 0;
else
result = dword_100822580[a3];
break;
default:
switch ( a2 )
{
case 1348:
if ( a3 )
{
if ( a3 == 7 )
{
result = 1363;
}
else
{
if ( a3 != 3 )
goto LABEL_23;
result = 1395;
}
}
else
{
result = 1359;
}
break;
case 1349:
if ( (unsigned int)a3 >= 5 )
goto LABEL_23;
return dword_1008225A0[a3];
case 1350:
v4 = a3 - 2;
if ( v4 >= 5 )
goto LABEL_23;
return dword_1008225B4[v4];
case 1351:
v5 = a3 - 1;
if ( v5 >= 5 )
goto LABEL_23;
return dword_1008225C8[v5];
default:
goto LABEL_23;
}
break;
}
return result;
}