// // sub_C15688 from 0xc15688 to 0xc15794 (268 bytes) // // 2 xrefs: // > jinit_upsampler @ 0xc15acc // > jinit_upsampler @ 0xc15ae8 // // 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_C15688(__int64 result, __int64 a2, unsigned __int8 **a3, void ***a4) { __int64 v4; // x19 int v5; // w27 int v6; // w23 __int64 v7; // x25 void **v9; // x24 int v10; // w21 char *v11; // x26 unsigned __int8 *v12; // x28 char *v13; // x20 int v14; // t1 void *v15; // x0 int v16[2]; // [xsp+68h] [xbp+68h] v4 = *(_QWORD *)(result + 640) + *(int *)(a2 + 4); *(_QWORD *)v16 = *a4; v5 = *(unsigned __int8 *)(v4 + 232); v6 = *(unsigned __int8 *)(v4 + 242); if ( *(int *)(result + 420) > 0 ) { v7 = result; v9 = *a4; v10 = 0; do { v11 = (char *)*v9; v12 = *a3; v13 = (char *)*v9 + *(unsigned int *)(v7 + 136); if ( *v9 < v13 ) { if ( v5 ) { do { v14 = *v12++; v15 = v11; v11 += v5; memset(v15, v14, v5 - 1 + 1LL); } while ( v13 > v11 ); } else { while ( v13 > v11 ) ; } } if ( v6 > 1 ) jcopy_sample_rows(v16[0], v10, v16[0], v10 + 1, v6 - 1, *(unsigned int *)(v7 + 136)); result = *(unsigned int *)(v7 + 420); v10 += v6; ++a3; v9 += (unsigned int)v6; } while ( (int)result > v10 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source