//
// sub_91448 from 0x91448 to 0x914d6 (142 bytes)
//
// 1 xrefs:
// > sub_923B0 @ 0x923b2
//
// 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_91448(_DWORD *a1, int a2, int a3, int a4)
{
_DWORD *v4; // r6
int v6; // r5
unsigned int *v7; // r0
unsigned int v8; // r1
v4 = a1 + 100;
a1[100] = a1 + 100;
a1[101] = a1 + 100;
a1[102] = 0;
a1[103] = 0;
a1[104] = -1;
a1[105] = -1;
v6 = sub_5C686((_DWORD *)(a1[32] + 1264), a1 + 94, 1, a4);
if ( !v6 )
{
a1[104] = -1;
a1[125] = 1;
a1[122] = 0;
a1[123] = 0;
a1[124] = 1065353216;
a1[100] = v4;
a1[101] = v4;
a1[102] = 0;
a1[97] = 1065353216;
a1[98] = 0;
v7 = a1 + 23;
a1[105] = -1;
__dmb(0xBu);
do
v8 = __ldrex(v7);
while ( __strex(v8 | 0x10, v7) );
__dmb(0xBu);
sub_914D6(a1, 1, 1);
}
return v6;
}