// // sub_6B614 from 0x6b614 to 0x6b6d6 (194 bytes) // // 1 xrefs: // > sub_6B1C6 @ 0x6b1cc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:40:58 +0000 // int __fastcall sub_6B614(int a1, int a2, int a3, int a4) { int v5; // r5 int v6; // r5 int v7; // r6 int v8; // r2 int v9; // r3 size_t v10; // r5 int v11; // r0 int v13; // [sp+4h] [bp-34h] BYREF int v14[5]; // [sp+8h] [bp-30h] BYREF void *buf; // [sp+1Ch] [bp-1Ch] BYREF v13 = a2; v14[0] = a3; v14[1] = a4; sub_6B6D8(&buf); while ( 1 ) { memset(v14, 0, sizeof(v14)); v5 = sub_6ADD0((__int64 *)(a1 + 1140), 1, v14); if ( v5 || *(_BYTE *)(a1 + 624) ) { sub_5284E(v14); goto LABEL_16; } v6 = v14[3]; v7 = v14[3]; if ( v14[3] >= 0x10000 ) v7 = 0x10000; qmemcpy(buf, (const void *)v14[1], v7); if ( v6 < 0x10000 && v14[4] ) { v10 = 0x10000 - v7; if ( v14[4] < 0x10000 - v7 ) v10 = v14[4]; qmemcpy((char *)buf + v7, (const void *)v14[2], v10); v7 += v10; } sub_6AF3E(a1 + 1140, v7, v8, v9); *(_DWORD *)(a1 + 1236) += v7; sub_5284E(v14); j_FMOD_OS_Time_GetUs(v14); v11 = sub_50D06(*(_DWORD *)(a1 + 16), (char *)buf, v7, &v13); if ( v11 ) break; if ( v13 != v7 ) { v5 = 28; goto LABEL_16; } } v5 = v11; LABEL_16: sub_6B714(&buf); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source