// // sub_1005C741C from 0x1005c741c to 0x1005c7564 (328 bytes) // // 11 xrefs: // > sub_10054D164 @ 0x10054d55c // > sub_10058C338 @ 0x10058e9a8 // > FMOD::DSP::getInput @ 0x1005ab208 // > sub_1005CCE68 @ 0x1005ccedc // > sub_1005CCE68 @ 0x1005ccf74 // > sub_1005CCE68 @ 0x1005ccfd8 // > sub_1005CCE68 @ 0x1005cd044 // > sub_1005CCE68 @ 0x1005cd0e8 // > sub_1005CD1D0 @ 0x1005cd2a0 // > sub_1005CD1D0 @ 0x1005cd390 // > sub_1005CD5FC @ 0x1005cd6c4 // // 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:25 +0000 // __int64 __fastcall sub_1005C741C(__int64 a1, int a2, _QWORD *a3, _QWORD *a4, int a5, int a6) { __int64 v12; // x19 char v13; // w26 __int64 v14; // x8 _QWORD *v15; // x9 int v16; // w10 int v17; // w11 __int64 v18; // x8 __int64 v19; // x23 v12 = *(_QWORD *)(a1 + 168); v13 = 1; if ( a6 ) { sub_100564430(*(_QWORD *)(a1 + 168), 1); if ( v12 ) { sub_100568CC4(v12, 1u); v13 = 0; } } v14 = 416; if ( a5 ) v14 = 420; if ( *(__int16 *)(a1 + v14) <= a2 ) { v18 = 0; v19 = 9; if ( !a4 ) goto LABEL_20; goto LABEL_19; } v15 = *(_QWORD **)(a1 + 120); if ( v15 == (_QWORD *)(a1 + 120) ) { v18 = 0; v19 = 28; if ( !a4 ) goto LABEL_20; LABEL_19: *a4 = v18; goto LABEL_20; } v16 = 0; if ( a5 ) v17 = 5; else v17 = 0; v18 = v15[2]; while ( v16 < a2 || (*(_DWORD *)(v18 + 124) & v17) != 0 ) { v15 = (_QWORD *)*v15; v18 = v15[2]; if ( (*(_DWORD *)(v18 + 124) & v17) == 0 ) ++v16; } v19 = 0; if ( a4 ) goto LABEL_19; LABEL_20: if ( a3 ) { if ( v18 ) v18 = *(_QWORD *)(v18 + 88); *a3 = v18; } if ( a6 ) { if ( (v12 == 0) | v13 & 1 ) return v19; goto LABEL_28; } if ( !(v13 & 1 | (v12 == 0)) ) LABEL_28: sub_100568CE4(v12, 1u); return v19; }
GD Web Decomp Icon

GD Web Decomp

Raw Source