// // sub_10058EBC8 from 0x10058ebc8 to 0x10058ed24 (348 bytes) // // 1 xrefs: // > sub_100588628 @ 0x100588628 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:08:43 +0000 // __int64 __fastcall sub_10058EBC8(__int64 a1) { __int64 result; // x0 __int64 v3; // x0 __int64 v4; // x1 int v5; // w8 __int64 i; // x21 __int64 v7; // x0 __int64 v8; // x1 __int64 v9; // x21 __int64 v10; // x22 __int64 v11; // x0 __int64 v12; // [xsp+8h] [xbp-28h] BYREF result = sub_1005D94FC(); if ( !(_DWORD)result ) { v3 = *(_QWORD *)(a1 + 18128); if ( v3 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3); *(_QWORD *)(a1 + 18128) = 0; } v4 = *(_QWORD *)(a1 + 1520); if ( v4 ) { v5 = *(_DWORD *)(a1 + 972); if ( v5 >= 1 ) { for ( i = 0; i < v5; ++i ) { v7 = *(_QWORD *)(*(_QWORD *)(a1 + 1520) + 8 * i); if ( v7 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 16LL))(v7); v5 = *(_DWORD *)(a1 + 972); } } v4 = *(_QWORD *)(a1 + 1520); } sub_1005D7AD8( *((_QWORD *)off_1009DA5E8 + 54), v4, "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_it.cpp", 5814, 1); *(_QWORD *)(a1 + 1520) = 0; } v8 = *(_QWORD *)(a1 + 2304); if ( v8 ) { sub_1005D7AD8( *((_QWORD *)off_1009DA5E8 + 54), v8, "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_it.cpp", 5820, 1); *(_QWORD *)(a1 + 2304) = 0; } v9 = 0; v10 = a1 + 17472; do { v11 = *(_QWORD *)(v10 + v9); if ( v11 ) { result = sub_10062F8C0(v11, 0, &v12); if ( (_DWORD)result ) return result; result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v12 + 16LL))(v12); if ( (_DWORD)result ) return result; sub_1005D7AD8( *((_QWORD *)off_1009DA5E8 + 54), *(_QWORD *)(v10 + v9), "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_it.cpp", 5837, 1); } v9 += 8; } while ( v9 != 400 ); return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source