// // sub_10044C7E0 from 0x10044c7e0 to 0x10044c9ac (460 bytes) // // 2 xrefs: // > sub_10044D350 @ 0x10044d378 // > sub_10044D7E4 @ 0x10044d858 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_10044C7E0(__int64 *a1, int a2, __int64 a3) { __int64 v6; // x0 int v7; // w9 int v8; // w8 unsigned int v9; // w8 unsigned int v10; // w8 __int64 v11; // x1 __int64 v12; // x0 __int64 v13; // x24 int v14; // w26 __int64 v15; // x0 unsigned int v16; // w0 __int64 v17; // x23 int v19; // w10 int v20; // w9 int v21; // w10 bool v22; // cc int v23; // w11 __int64 v24; // x10 __int64 v25; // x9 while ( 1 ) { if ( *((_BYTE *)a1 + 24) ) return 0; v6 = sub_1004B5C70(a1[4]); if ( (_DWORD)v6 ) return v6; v7 = *((_DWORD *)a1 + 4); v8 = *((_DWORD *)a1 + 3) - v7; if ( v8 ) { v17 = 0; v19 = *((_DWORD *)a1 + 2); v20 = (v19 - 1) & v7; v21 = v19 - v20; v23 = v8 - v21; v22 = v8 <= v21; if ( v8 >= v21 ) v8 = v21; v24 = *a1; v25 = *a1 + v20; if ( v22 ) v24 = 0; if ( v22 ) v23 = 0; *(_QWORD *)(a3 + 8) = v25; *(_QWORD *)(a3 + 16) = v24; *(_DWORD *)(a3 + 24) = v8; *(_DWORD *)(a3 + 28) = v23; *(_QWORD *)a3 = a1[4]; return v17; } if ( *((_DWORD *)a1 + 5) ) break; LABEL_12: if ( a2 ) ++*((_DWORD *)a1 + 14); v16 = sub_1004B5CA0(a1[4]); if ( v16 || !a2 ) { if ( v16 ) return v16; else return 45; } v6 = sub_1004B5DA8(a1[5]); if ( (_DWORD)v6 ) return v6; } sub_1004B1970( *((_QWORD *)off_1008524C8 + 54), *a1, "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile_client.cpp", 243, 1); v9 = (*((_DWORD *)a1 + 5) - 1) | ((unsigned int)(*((_DWORD *)a1 + 5) - 1) >> 1); v10 = v9 | (v9 >> 2) | ((v9 | (v9 >> 2)) >> 4); v11 = (v10 | (v10 >> 8) | ((v10 | (v10 >> 8)) >> 16)) + 1; *((_DWORD *)a1 + 2) = v11; v12 = sub_1004B11FC( *((_QWORD *)off_1008524C8 + 54), v11, "/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_profile_client.cpp", 247, 0, 0, 1); *a1 = v12; if ( !v12 ) return 38; a1[2] = 0; *((_DWORD *)a1 + 3) = 0; v13 = a1[4]; sub_1004B5C70(v13); if ( *((int *)a1 + 15) < 1 ) { LABEL_11: sub_1004B5CA0(v13); goto LABEL_12; } v14 = 0; while ( 1 ) { v15 = sub_1004B5DD4(a1[6]); if ( (_DWORD)v15 ) break; if ( ++v14 >= *((_DWORD *)a1 + 15) ) { *((_DWORD *)a1 + 15) = 0; goto LABEL_11; } } v17 = v15; sub_1004B5CA0(v13); return v17; }
GD Web Decomp Icon

GD Web Decomp

Raw Source