//
// GameObject::perspectiveFrame from 0x1402aca00 to 0x1402acb0d (269 bytes)
//
// 19 xrefs:
// > GameObject::perspectiveColorFrame @ 0x1402acb1e
// > GameObject::setupCustomSprites @ 0x1402b136c
// > GameObject::setupCustomSprites @ 0x1402b6c52
// > GameObject::setupCustomSprites @ 0x1402b6cb4
// > GameObject::setupCustomSprites @ 0x1402b6e1d
// > GameObject::setupCustomSprites @ 0x1402b6e4d
// > GameObject::setupCustomSprites @ 0x1402b6e7e
// > GameObject::setupCustomSprites @ 0x1402b6eba
// > GameObject::setupCustomSprites @ 0x1402b6eea
// > GameObject::setupCustomSprites @ 0x1402b70af
// > GameObject::setupCustomSprites @ 0x1402b719c
// > GameObject::setupCustomSprites @ 0x1402b71e8
// > GameObject::setupCustomSprites @ 0x1402b7346
// > GameObject::setupCustomSprites @ 0x1402b7396
// > GameObject::setupCustomSprites @ 0x1402b74f9
// > GameObject::setupCustomSprites @ 0x1402b75b2
// > GameObject::setupCustomSprites @ 0x1402b764e
// > GameObject::setupCustomSprites @ 0x1402b77b1
// > ??> @ 0x14091db58
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:29:20 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall GameObject::perspectiveFrame(__int64 a1, _QWORD *a2, const char *a3, unsigned int a4)
{
_BYTE *v7; // rax
size_t v8; // r8
const char *v10; // [rsp+20h] [rbp-258h] BYREF
__int64 v11; // [rsp+28h] [rbp-250h]
_BYTE v12[528]; // [rsp+40h] [rbp-238h] BYREF
fmt::BasicWriter::BasicWriter(v12);
v10 = a3;
v11 = 0;
fmt::BasicWriter::operator<<(v12, &v10);
v10 = "_0";
v11 = 0;
fmt::BasicWriter::operator<<(v12, &v10);
fmt::BasicWriter::operator<<(v12, a4);
v10 = "_001.png";
v11 = 0;
fmt::BasicWriter::operator<<(v12, &v10);
v7 = (_BYTE *)fmt::BasicWriter::c_str(v12);
*(_OWORD *)a2 = 0;
a2[2] = 0;
a2[3] = 0;
v8 = -1;
do
++v8;
while ( v7[v8] );
sub_14003D230(a2, v7, v8);
fmt::BasicWriter::~BasicWriter(v12);
return a2;
}