//
// LevelEditorLayer::getSavedEditorPositions from 0x10035dbc4 to 0x10035dcfc (312 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::saveLevel @ 0x10039e53c
//
// 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
//
void __usercall LevelEditorLayer::getSavedEditorPositions(__int64 a1@, _QWORD *a2@)
{
__int64 v4; // x23
__int64 v5; // x24
__int64 v6; // x20
unsigned int v7; // [xsp+Ch] [xbp-264h] BYREF
__int128 v8; // [xsp+10h] [xbp-260h] BYREF
void *__p; // [xsp+20h] [xbp-250h]
_BYTE v10[512]; // [xsp+28h] [xbp-248h] BYREF
v4 = 0;
v8 = xmmword_1006350E0;
__p = v10;
do
{
v5 = *(_QWORD *)(a1 + 14288);
if ( v4 )
sub_10000CB18((__int64 *)&v8, ",", 0);
v7 = (int)*(float *)(v5 + v4);
sub_100009A40((int)&v8, v7, (int)&v7);
sub_10000CB18((__int64 *)&v8, ",", 0);
v7 = (int)*(float *)(v5 + v4 + 4);
sub_100009A40((int)&v8, v7, (int)&v7);
v4 += 8;
}
while ( v4 != 80 );
v6 = v8;
if ( *((_QWORD *)&v8 + 1) < (unsigned __int64)(v8 + 1) )
sub_100009ED4((__int64)&v8, v8 + 1);
*((_BYTE *)__p + v6) = 0;
sub_100009900(a2, (char *)__p);
if ( __p != v10 )
{
if ( __p )
operator delete[](__p);
}
}