//
// ObjectToolbox::perspectiveBlockFrame from 0x4366d0 to 0x436802 (306 bytes)
//
// 10 xrefs:
// > GameObject::setupCustomSprites @ 0x51a22a
// > GameObject::setupCustomSprites @ 0x51a2fa
// > GameObject::setupCustomSprites @ 0x51a4b6
// > GameObject::setupCustomSprites @ 0x51a556
// > GameObject::setupCustomSprites @ 0x51a62c
// > GameObject::setupCustomSprites @ 0x51a720
// > GameObject::setupCustomSprites @ 0x51a79e
// > GameObject::setupCustomSprites @ 0x51a80e
// > GameObject::setupCustomSprites @ 0x51a9d2
// > GameObject::setupCustomSprites @ 0x51ab50
//
// 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 > 988 )
{
if ( (int)a1 >= 1072 )
{
if ( (int)a1 > 1528 )
{
if ( (int)a1 <= 1540 )
return "persp_block013";
if ( (unsigned int)&a1[-6].m_sInverse.tx <= 8 )
return "persp_block011";
}
}
else
{
if ( (int)a1 >= 1063 )
return "persp_block009";
if ( (unsigned int)&a1[-4].m_sAdditionalTransform.tx <= 8 )
return "persp_block005b";
}
return (const char *)&unk_939830;
}
if ( (int)a1 >= 980 )
return "persp_block007";
if ( (int)a1 <= 640 )
{
if ( (int)a1 >= 632 )
return "persp_block002";
if ( (int)a1 > 622 )
return "persp_block001";
return "persp_lblock05";
}
if ( a1 != (ObjectToolbox *)((char *)&stru_37C.st_size + 2) )
{
if ( (int)a1 >= 902 && (unsigned int)&a1[-4].m_pShaderProgram + 1 <= 8 )
return "persp_block005";
return (const char *)&unk_939830;
}
return "persp_lblock01";
}
if ( (int)a1 > 604 )
return "persp_lblock04";
if ( (int)a1 >= 560 )
{
if ( (int)a1 > 586 )
{
if ( (int)a1 >= 596 )
return "persp_lblock03";
else
return "persp_lblock02";
}
if ( (int)a1 < 578 )
{
if ( (int)a1 > 568 )
return "persp_blockh";
else
return "persp_blockg";
}
return "persp_lblock01";
}
if ( (int)a1 >= 551 )
return "persp_blockf";
if ( (int)a1 > 532 )
{
if ( (int)a1 > 541 )
return "persp_blocke";
else
return "persp_blockd";
}
else
{
if ( (int)a1 >= 524 )
return "persp_blockc";
if ( (int)a1 < 515 )
return (const char *)&unk_939830;
return "persp_blockb";
}
}