// // sub_1005CF614 from 0x1005cf614 to 0x1005cf7d4 (448 bytes) // // 1 xrefs: // > sub_1005D0C28 @ 0x1005d0d00 // // 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:09:30 +0000 // __int64 __fastcall sub_1005CF614(__int64 a1) { int v2; // w0 int v3; // w21 int v4; // w23 char *v5; // x20 __int64 v6; // x23 _QWORD *v7; // x0 _QWORD *v8; // x22 __int64 v9; // x25 __int64 v10; // x7 _QWORD *v12; // x8 __int64 v13; // x9 v2 = sub_1005ED1C4("http://", a1 + 68, 7); v3 = v2; if ( v2 ) v4 = 4; else v4 = 3; if ( v2 ) { v5 = (char *)off_1009DA5E8 + 56; while ( 1 ) { v5 = *(char **)v5; if ( v5 == (char *)off_1009DA5E8 + 56 ) break; if ( *((_DWORD *)v5 + 104) == 4 ) goto LABEL_8; } } v7 = (_QWORD *)sub_1005D7364( *((_QWORD *)off_1009DA5E8 + 54), 424, "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_file.cpp", 272, 0, 0, 1); if ( !v7 ) return 38; v5 = (char *)v7; *v7 = v7; v7[1] = v7; v7[2] = 0; v8 = v7 + 3; sub_1005FB55C(v7 + 3); *((_QWORD *)v5 + 46) = v5 + 368; *((_QWORD *)v5 + 47) = v5 + 368; *((_OWORD *)v5 + 24) = 0u; *((_OWORD *)v5 + 25) = 0u; v5[360] = 0; v9 = *(_QWORD *)(a1 + 408); *((_DWORD *)v5 + 104) = v4; v5[420] = v3 == 0; v6 = sub_1005DBC40(v5 + 408, 0); if ( (_DWORD)v6 || (v3 ? (v10 = 0) : (v10 = v9), v6 = sub_1005FB59C(v8, "FMOD file thread", sub_1005CF060, v5, 3, 0, 10, v10, 1), (_DWORD)v6) ) { sub_1005D7AD8( *((_QWORD *)off_1009DA5E8 + 54), v5, "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_file.cpp", 281, 1); } else { v12 = off_1009DA5E8; if ( !v5[420] ) *((_QWORD *)off_1009DA5E8 + 10) = *((_QWORD *)v5 + 37); v5[360] = 1; v13 = v12[7]; *(_QWORD *)v5 = v13; *((_QWORD *)v5 + 1) = v12 + 7; *(_QWORD *)(v13 + 8) = v5; **((_QWORD **)v5 + 1) = v5; LABEL_8: v6 = 0; *(_QWORD *)(a1 + 392) = v5; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source