// // sub_10054E2C8 from 0x10054e2c8 to 0x10054e3e8 (288 bytes) // // 2 xrefs: // > sub_10054E138 @ 0x10054e20c // > sub_1005F4FC0 @ 0x1005f523c // // 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:07:52 +0000 // __int64 __fastcall sub_10054E2C8(__int64 a1) { __int64 result; // x0 __int64 v3; // x0 _QWORD *v4; // x8 _QWORD *v5; // x9 _QWORD *v6; // x21 __int64 v7; // x21 _QWORD *v8; // x0 _QWORD *v9; // x9 __int64 v10; // x0 result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 40LL))(a1); if ( !(_DWORD)result ) { *(_BYTE *)(a1 + 80) = 0; result = sub_10054E6A0(a1); if ( !(_DWORD)result ) { v3 = *(_QWORD *)(a1 + 8); if ( v3 != -1 ) sub_10061C068(v3); v4 = *(_QWORD **)(a1 + 16); while ( v4 != (_QWORD *)(a1 + 16) ) { v6 = (_QWORD *)*v4; v5 = (_QWORD *)v4[1]; *v5 = *v4; *(_QWORD *)(*v4 + 8LL) = v5; *v4 = v4; v4[1] = v4; result = sub_100573344(v4); v4 = v6; if ( (_DWORD)result ) return result; } v7 = *(_QWORD *)(a1 + 40); while ( v7 != a1 + 40 ) { if ( v7 ) v8 = (_QWORD *)(v7 - 8); else v8 = nullptr; v7 = v8[1]; v9 = (_QWORD *)v8[2]; *v9 = v7; *(_QWORD *)(v8[1] + 8LL) = v9; v8[2] = v8 + 1; v8[1] = v8 + 1; result = (*(__int64 (__fastcall **)(_QWORD *))(*v8 + 16LL))(v8); if ( (_DWORD)result ) return result; } v10 = *(_QWORD *)(a1 + 64); if ( v10 ) v10 = sub_1005DBD78(v10, 0); result = sub_1005D9D78(v10); if ( !(_DWORD)result ) { sub_1005D7AD8( *((_QWORD *)off_1009DA5E8 + 54), a1, "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile.cpp", 235, 1); return 0; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source