//
// GameObject::perspectiveFrame from 0x64318c to 0x643262 (214 bytes)
//
// 18 xrefs:
// > GameObject::perspectiveColorFrame @ 0x643286
// > GameObject::setupCustomSprites @ 0x64c794
// > GameObject::setupCustomSprites @ 0x64c7c4
// > GameObject::setupCustomSprites @ 0x64c8de
// > GameObject::setupCustomSprites @ 0x64c926
// > GameObject::setupCustomSprites @ 0x64c972
// > GameObject::setupCustomSprites @ 0x64c9c8
// > GameObject::setupCustomSprites @ 0x64ca10
// > GameObject::setupCustomSprites @ 0x64cb40
// > GameObject::setupCustomSprites @ 0x64cbbe
// > GameObject::setupCustomSprites @ 0x64cbe8
// > GameObject::setupCustomSprites @ 0x64cc94
// > GameObject::setupCustomSprites @ 0x64ccbe
// > GameObject::setupCustomSprites @ 0x64cd92
// > GameObject::setupCustomSprites @ 0x64ce3a
// > GameObject::setupCustomSprites @ 0x64cf1e
// > GameObject::setupCustomSprites @ 0x64d0ca
// > GameObject::setupCustomSprites @ 0x64d222
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:30 +0000
//
GameObject *__fastcall GameObject::perspectiveFrame(GameObject *this, const char *a2, const char *a3, int a4)
{
unsigned int v6; // r5
const char *v7; // r5
size_t v8; // r0
unsigned int v10; // [sp+Ch] [bp-204h] BYREF
unsigned int v11; // [sp+10h] [bp-200h]
char *v12; // [sp+14h] [bp-1FCh]
_BYTE v13[500]; // [sp+18h] [bp-1F8h] BYREF
v11 = 500;
v12 = v13;
v10 = 0;
fmt::BasicWriter::operator<<(&v10, a3, 0);
fmt::BasicWriter::operator<<(&v10, "_0", 0);
fmt::BasicWriter::FormatInt,char>>(&v10, a4);
fmt::BasicWriter::operator<<(&v10, "_001.png", 0);
v6 = v10;
if ( v10 + 1 > v11 )
fmt::internal::Array::grow((int)&v10, v10 + 1);
v12[v6] = 0;
v7 = v12;
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
v8 = strlen(v7);
std::string::__init((int *)this, v7, v8);
if ( v12 != v13 && v12 )
operator delete[](v12);
return this;
}