//
// ObjectToolbox::perspectiveBlockFrame from 0x7ef15c to 0x7ef330 (468 bytes)
//
// 11 xrefs:
// > GameObject::setupCustomSprites @ 0x98549c
// > GameObject::setupCustomSprites @ 0x99079c
// > GameObject::setupCustomSprites @ 0x99097c
// > GameObject::setupCustomSprites @ 0x990a44
// > GameObject::setupCustomSprites @ 0x990af8
// > GameObject::setupCustomSprites @ 0x990ca4
// > GameObject::setupCustomSprites @ 0x990d88
// > GameObject::setupCustomSprites @ 0x990ff4
// > GameObject::setupCustomSprites @ 0x991158
// > GameObject::setupCustomSprites @ 0x99600c
// > ??> @ 0x32ee0
//
// 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
//
const char *ObjectToolbox::perspectiveBlockFrame(ObjectToolbox *a1, int a2)
{
if ( (int)a1 <= 613 )
{
if ( (int)a1 >= 605 )
return "persp_lblock04";
if ( (int)a1 <= 559 )
{
if ( (int)a1 >= 551 )
return "persp_blockf";
if ( (int)a1 > 532 )
{
if ( (int)a1 <= 541 )
return "persp_blockd";
else
return "persp_blocke";
}
else
{
if ( (int)a1 < 524 )
{
if ( (int)a1 >= 515 )
return "persp_blockb";
return &byte_F288A0;
}
return "persp_blockc";
}
}
if ( (int)a1 > 586 )
{
if ( (int)a1 <= 595 )
return "persp_lblock02";
else
return "persp_lblock03";
}
if ( (int)a1 < 578 )
{
if ( (int)a1 <= 568 )
return "persp_blockg";
else
return "persp_blockh";
}
return "persp_lblock01";
}
if ( (int)a1 <= 988 )
{
if ( (int)a1 >= 980 )
return "persp_block007";
if ( (int)a1 <= 640 )
{
if ( (int)a1 >= 632 )
return "persp_block002";
if ( (int)a1 <= 622 )
return "persp_lblock05";
return "persp_block001";
}
if ( (_DWORD)a1 != 902 )
{
if ( (int)a1 >= 902 && (unsigned int)((_DWORD)a1 - 943) <= 8 )
return "persp_block005";
return &byte_F288A0;
}
return "persp_lblock01";
}
if ( (int)a1 > 1071 )
{
if ( (int)a1 < 1529 )
return &byte_F288A0;
if ( (int)a1 > 1540 )
{
if ( (unsigned int)((_DWORD)a1 - 1552) <= 8 )
return "persp_block011";
return &byte_F288A0;
}
return "persp_block013";
}
else
{
if ( (int)a1 < 1063 )
{
if ( (unsigned int)((_DWORD)a1 - 1024) <= 8 )
return "persp_block005b";
return &byte_F288A0;
}
return "persp_block009";
}
}