// // sub_100620F00 from 0x100620f00 to 0x1006210a0 (416 bytes) // // 1 xrefs: // > sub_10062113C @ 0x100621480 // // 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:10:19 +0000 // __int64 __fastcall sub_100620F00(__int64 a1, __int64 a2, int8x8_t **a3, _QWORD *a4) { int8x8_t *v8; // x0 int8x8_t *v9; // x22 __int64 v10; // x8 _DWORD *v11; // x0 __int64 v12; // x8 int8x8_t *v13; // x9 __int8 v14; // t1 unsigned __int64 v15; // x10 unsigned int *v16; // x11 unsigned __int64 v17; // x12 unsigned __int64 v19; // x13 __int64 v20; // x14 int8x8_t *v21; // x15 __int64 v22; // x16 int8x8_t v23; // d1 unsigned int *v24; // x9 unsigned __int64 v25; // x13 v8 = (int8x8_t *)sub_1005D7364( *((__int64 **)off_1009DA5E8 + 54), *(_DWORD *)(a2 + 12), (char)"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_fsb5.cpp", 362, 0, 0); if ( !v8 ) return 38; v9 = v8; v10 = sub_1005D0224(a1, v8, 1u, *(_DWORD *)(a2 + 12), nullptr); if ( (_DWORD)v10 ) return v10; v11 = sub_1005D7364( *((__int64 **)off_1009DA5E8 + 54), 4 * *(_DWORD *)(a2 + 8), (char)"/opt/teamcity-agent/work/570ad728b1678096/core_api/src/fmod_codec_fsb5.cpp", 371, 0, 0); if ( !v11 ) return 38; if ( *(int *)(a2 + 8) >= 1 ) { v12 = 0; v13 = v9; while ( 1 ) { v11[v12] = (_DWORD)v13 - (_DWORD)v9; v14 = v13->i8[0]; ++v13; if ( (v14 & 1) != 0 ) break; LABEL_6: if ( ++v12 >= *(int *)(a2 + 8) ) goto LABEL_24; } while ( 1 ) { v16 = (unsigned int *)v13 + 1; v15 = v13->u32[0]; v17 = (v15 >> 1) & 0xFFFFFF; if ( (unsigned int)v15 >> 25 != 6 || (unsigned int)v17 < 4 ) goto LABEL_9; v19 = v17 >> 2; if ( (unsigned int)v17 >= 0x10 ) { v20 = v19 & 0x3FFFFC; v21 = (int8x8_t *)((char *)v13 + 12); v22 = v19 & 0x3FFFFC; do { v23 = vrev32_s8(*v21); v21[-1] = vrev32_s8(v21[-1]); *v21 = v23; v21 += 2; v22 -= 4; } while ( v22 ); if ( v20 == v19 ) goto LABEL_9; } else { v20 = 0; } v24 = (unsigned int *)v13 + v20 + 1; v25 = v19 - v20; do { *v24 = bswap32(*v24); ++v24; --v25; } while ( v25 ); LABEL_9: v13 = (int8x8_t *)((char *)v16 + ((v15 >> 1) & 0xFFFFFF)); if ( (v15 & 1) == 0 ) goto LABEL_6; } } LABEL_24: v10 = 0; *a3 = v9; *a4 = v11; return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source