// // GameLevelManager::onUpdateEditorSoundDescriptionCompleted from 0x4d1084 to 0x4d114a (198 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4db15a // // 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:50:47 +0000 // int __fastcall GameLevelManager::onUpdateEditorSoundDescriptionCompleted(int a1, int a2, unsigned __int8 *a3) { int v6; // r3 unsigned int v7; // r3 char *v8; // r0 unsigned int v9; // r9 const char *v10; // r0 int result; // r0 int v12[2]; // [sp+8h] [bp-14h] BYREF char *v13; // [sp+10h] [bp-Ch] std::__tree::__erase_unique((int **)(a1 + 524), a3); v6 = *a3; if ( (v6 & 1) != 0 ) v7 = *((_DWORD *)a3 + 1); else v7 = v6 >> 1; if ( v7 > 8 ) { std::string::basic_string(v12, a3, 8u, 0xFFFFFFFF); if ( (v12[0] & 1) != 0 ) v8 = v13; else v8 = (char *)v12 + 1; atoi(v8); std::string::~string((int)v12); } v12[0] = 0; v12[1] = 0; v13 = nullptr; std::string::__init(v12, "-1", 2u); v9 = sub_4A9CC4((unsigned __int8 *)a2, (unsigned __int8 *)v12); if ( !v9 ) { if ( (*(_BYTE *)a2 & 1) != 0 ) v10 = *(const char **)(a2 + 8); else v10 = (const char *)(a2 + 1); v9 = (unsigned int)atoi(v10) >> 31; } std::string::~string((int)v12); result = *(_DWORD *)(a1 + 888); if ( v9 ) { if ( result ) return (*(int (__fastcall **)(int))(*(_DWORD *)result + 4))(result); } else if ( result ) { return (**(int (__fastcall ***)(int))result)(result); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source