//
// sub_744DB8 from 0x744db8 to 0x744dd8 (32 bytes)
//
// 4 xrefs:
// > sub_745A3C @ 0x745b70
// > sub_745A3C @ 0x745b7c
// > sub_745A3C @ 0x745b88
// > sub_745A3C @ 0x745b94
//
// 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_744DB8(_DWORD *a1, int a2)
{
int v2; // r2
_BOOL4 v3; // r3
int v4; // r4
v2 = a1[4];
v3 = a2 == 0;
v4 = a1[31];
a1[5] = v3;
a1[31] = a2;
if ( (v3 & v2) != 0 )
sub_77356C("basic_ios::clear");
return v4;
}