//
// sub_9333C from 0x9333c to 0x9342c (240 bytes)
//
// 2 xrefs:
// > sub_9342C @ 0x93788
// > sub_9342C @ 0x93860
//
// 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 12:14:22 +0000
//
__int64 __fastcall sub_9333C(_QWORD *a1, __int64 a2, unsigned int a3, char a4)
{
void *v7; // x0
void *v8; // x21
__int64 result; // x0
unsigned int v10; // w19
if ( (a4 & 1) == 0 )
return sub_932CC((__int64)a1, nullptr, a3);
v7 = (void *)sub_E2AC4(
*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000),
a3,
"../../src/fmod_codec_midi.cpp",
2313,
0);
if ( !v7 )
return 38;
v8 = v7;
result = sub_932CC((__int64)a1, v7, a3);
if ( !(_DWORD)result )
{
v10 = sub_D2D4C(*a1, 7, a2, v8, a3, 3, 0);
sub_E2D74(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), v8, "../../src/fmod_codec_midi.cpp", 2327, 1);
return v10;
}
return result;
}