//
// LevelEditorLayer::getSavedEditorPositions from 0x47078c to 0x470866 (218 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::updateLevelSaveInfo @ 0x4709d0
//
// 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:49:04 +0000
//
LevelEditorLayer *__fastcall LevelEditorLayer::getSavedEditorPositions(LevelEditorLayer *this, int a2)
{
_DWORD *v2; // r9
int v4; // r5
float *v5; // r8
const char *v6; // r0
const char *v7; // r5
size_t v8; // r0
unsigned int v10[3]; // [sp+14h] [bp-208h] BYREF
char v11; // [sp+20h] [bp-1FCh] BYREF
v2 = (_DWORD *)(a2 + 12016);
v4 = 0;
v10[1] = 500;
v10[0] = 0;
v10[2] = (unsigned int)&v11;
do
{
v5 = (float *)(*v2 + 8 * v4);
if ( v4 )
fmt::BasicWriter::operator<<(v10, ",", 0);
fmt::BasicWriter::operator<<(v10, (int)*v5);
fmt::BasicWriter::operator<<(v10, ",", 0);
fmt::BasicWriter::operator<<(v10, (int)v5[1]);
++v4;
}
while ( v4 != 10 );
v6 = (const char *)fmt::BasicWriter::c_str((int *)v10);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v7 = v6;
*((_DWORD *)this + 2) = 0;
v8 = strlen(v6);
std::string::__init((int *)this, v7, v8);
fmt::internal::Array::free((int)v10);
return this;
}