// // sub_1005C7564 from 0x1005c7564 to 0x1005c76b0 (332 bytes) // // 7 xrefs: // > FMOD::DSP::getOutput @ 0x1005ab374 // > sub_1005CCE68 @ 0x1005cd13c // > sub_1005CD1D0 @ 0x1005cd31c // > sub_1005CD1D0 @ 0x1005cd428 // > sub_1005CD5FC @ 0x1005cd798 // > sub_1005F95DC @ 0x1005f98f8 // > sub_1005F9994 @ 0x1005f9b88 // // 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_1005C7564(__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 = 418; if ( a5 ) v14 = 422; if ( *(__int16 *)(a1 + v14) <= a2 ) { v18 = 0; v19 = 9; if ( !a4 ) goto LABEL_20; goto LABEL_19; } v15 = *(_QWORD **)(a1 + 392); if ( v15 == (_QWORD *)(a1 + 392) ) { 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 + 96); *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