// // sub_10061F650 from 0x10061f650 to 0x10061f794 (324 bytes) // // 1 xrefs: // > sub_10061EF38 @ 0x10061ef70 // // 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:18 +0000 // __int64 __fastcall sub_10061F650(__int64 a1, unsigned int a2, __int64 a3) { __int64 v4; // x8 __int64 result; // x0 int v7; // w9 char *v8; // x0 int v9; // w10 _UNKNOWN **v10; // x8 void *v11; // x10 v4 = *(_QWORD *)(a1 + 368); result = 19; if ( (a2 & 0x200) == 0 && (*(_DWORD *)(v4 + 404) & 1) != 0 ) { *(_DWORD *)(a1 + 40) = 18; *(_QWORD *)(a1 + 328) = 0; *(_QWORD *)(a1 + 360) = 0; *(_DWORD *)(a1 + 24) = 0; *(_QWORD *)(a1 + 8) = 0; *(_OWORD *)(a1 + 288) = 0u; *(_OWORD *)(a1 + 304) = 0u; if ( a3 ) v7 = *(_DWORD *)(a3 + 204); else v7 = 0; *(_DWORD *)(a1 + 376) = v7; result = sub_1005D0A20(v4, 0, 0); if ( !(_DWORD)result ) { result = sub_10061F794(a1, (a2 >> 14) & 1); if ( !(_DWORD)result ) { result = sub_10061F1C8((char *)a1); if ( !(_DWORD)result ) { v8 = (char *)sub_1005D7660( *((__int64 **)off_1009DA5E8 + 54), 56, (char)"/opt/teamcity-agent/work/570ad728b1678096/core_api/platforms/ios/src/fmod_codec_audioqueue.cpp", 163, 0); *(_QWORD *)(a1 + 312) = v8; *(_QWORD *)(a1 + 8) = v8; if ( v8 ) { v9 = *(_DWORD *)(a1 + 444); *((_DWORD *)v8 + 2) = 2; *((_DWORD *)v8 + 3) = v9; *((_DWORD *)v8 + 4) = (int)*(double *)(a1 + 416); *(int32x2_t *)(v8 + 20) = vrev64_s32(*(int32x2_t *)(a1 + 456)); *((_DWORD *)v8 + 7) = *(_DWORD *)(a1 + 468); v10 = &off_1009DB980 + 3 * *(unsigned int *)(*(_QWORD *)(a1 + 32) + 69816LL); *(_QWORD *)(a1 + 400) = a1; v11 = v10[1]; *(_QWORD *)(a1 + 384) = v10; *(_QWORD *)(a1 + 392) = v11; v10[1] = (_UNKNOWN *)(a1 + 384); **(_QWORD **)(a1 + 392) = a1 + 384; return 0; } else { return 38; } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source