// // LevelEditorLayer::getSFXIDs from 0x47064c to 0x470780 (308 bytes) // // 3 xrefs: // > LevelEditorLayer::updateLevelSaveInfo @ 0x470a5e // > EditorPauseLayer::onDownloadAudio @ 0x5092d4 // > EditorPauseLayer::init @ 0x5097d2 // // 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::getSFXIDs(LevelEditorLayer *this, int a2) { int v3; // r2 _DWORD *v4; // r2 int *v5; // r6 int *v6; // r11 int v7; // r3 int v8; // t1 int *v9; // r7 int v10; // r3 int v11; // r11 int *v12; // r0 const char *v13; // r0 const char *v14; // r7 size_t v15; // r0 int v17; // [sp+Ch] [bp-220h] BYREF _DWORD v18[2]; // [sp+10h] [bp-21Ch] BYREF int *v19; // [sp+18h] [bp-214h] BYREF int v20; // [sp+1Ch] [bp-210h] BYREF int v21; // [sp+20h] [bp-20Ch] unsigned int v22[3]; // [sp+24h] [bp-208h] BYREF char v23; // [sp+30h] [bp-1FCh] BYREF v19 = &v20; v20 = 0; v21 = 0; v3 = *(_DWORD *)(a2 + 2088); if ( v3 ) { v4 = *(_DWORD **)(v3 + 52); if ( *v4 ) { v5 = (int *)v4[3]; v6 = &v5[*v4 - 1]; while ( v5 <= v6 ) { v8 = *v5++; v7 = v8; if ( !v8 ) break; if ( *(_DWORD *)(v7 + 892) == 3602 ) { v17 = *(_DWORD *)(v7 + 1660); if ( v17 > 0 ) std::__tree::__emplace_unique_key_args((int)v18, (int)&v19, &v17, &v17); } } } } if ( v21 ) { v9 = v19; v22[0] = 0; v22[1] = 500; v22[2] = (unsigned int)&v23; v10 = 1; while ( v9 != &v20 ) { v11 = v9[4]; if ( !v10 ) { v18[0] = ","; v18[1] = 0; fmt::BasicWriter::operator<<(v22, ",", 0); } fmt::BasicWriter::operator<<(v22, v11); v12 = std::__tree_next *>(v9); v10 = 0; v9 = v12; } v13 = (const char *)fmt::BasicWriter::c_str((int *)v22); *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v14 = v13; *((_DWORD *)this + 2) = 0; v15 = strlen(v13); std::string::__init((int *)this, v14, v15); fmt::internal::Array::free((int)v22); } else { *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; std::string::__init((int *)this, &unk_B6B226, 0); } std::__tree::~__tree((int)&v19); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source