//
// sub_744800 from 0x744800 to 0x744820 (32 bytes)
//
// 4 xrefs:
// > sub_745A3C @ 0x745b04
// > sub_745A3C @ 0x745b10
// > sub_745A3C @ 0x745b1c
// > sub_745A3C @ 0x745b28
//
// 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_744800(_DWORD *a1, int a2)
{
int v2; // r2
_BOOL4 v3; // r3
int v4; // r4
v2 = a1[4];
v3 = a2 == 0;
v4 = a1[30];
a1[5] = v3;
a1[30] = a2;
if ( (v3 & v2) != 0 )
sub_77356C("basic_ios::clear");
return v4;
}