// // sub_67FF10 from 0x67ff10 to 0x67ffac (156 bytes) // // 0 xrefs: // // 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 // int __fastcall sub_67FF10(int a1, int a2, _DWORD *a3, int a4, int a5, int *a6, int a7) { int v7; // r4 unsigned int v9; // r5 int v10; // r3 int result; // r0 int v12; // r2 v7 = *(_DWORD *)(a1 + 476); if ( !*(_DWORD *)(v7 + 36) ) { v9 = *(_DWORD *)(v7 + 44); v10 = *a6; if ( v9 <= 1 ) { if ( v9 > a7 - v10 ) v9 = *(_DWORD *)(v7 + 36); } else { v9 = a7 - v10; if ( (unsigned int)(a7 - v10) > 1 ) { v9 = 2; goto LABEL_5; } } *(_DWORD *)(v7 + 36) = 1; LABEL_5: result = (*(int (**)(void))(v7 + 12))(); goto LABEL_6; } v9 = 1; result = jcopy_sample_rows(v7 + 32, 0, a5 + 4 * *a6, 0, 1, *(_DWORD *)(v7 + 40)); *(_DWORD *)(v7 + 36) = 0; LABEL_6: *a6 += v9; v12 = *(_DWORD *)(v7 + 36); *(_DWORD *)(v7 + 44) -= v9; if ( !v12 ) ++*a3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source