//
// LevelEditorLayer::getSavedEditorPositions from 0x3738a8 to 0x373970 (200 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::saveLevel @ 0x4014c6
//
// 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
//
LevelEditorLayer *__fastcall LevelEditorLayer::getSavedEditorPositions(LevelEditorLayer *this, int a2)
{
_DWORD *v2; // r9
int v4; // r6
float *v5; // r7
char *v6; // r0
unsigned int v8[3]; // [sp+14h] [bp-208h] BYREF
char v9; // [sp+20h] [bp-1FCh] BYREF
v2 = (_DWORD *)(a2 + 12096);
v4 = 0;
v8[1] = 500;
v8[0] = 0;
v8[2] = (unsigned int)&v9;
do
{
v5 = (float *)(*v2 + 8 * v4);
if ( v4 )
fmt::BasicWriter::operator<<(v8, ",", 0);
fmt::BasicWriter::operator<<(v8, (int)*v5);
fmt::BasicWriter::operator<<(v8, ",", 0);
fmt::BasicWriter::operator<<(v8, (int)v5[1]);
++v4;
}
while ( v4 != 10 );
v6 = (char *)fmt::BasicWriter::c_str((int *)v8);
sub_776584((int)this, v6);
fmt::internal::Array::free((int)v8);
return this;
}