//
// sub_100639784 from 0x100639784 to 0x1006398b8 (308 bytes)
//
// 2 xrefs:
// > sub_10063967C @ 0x100639750
// > sub_10063A5B0 @ 0x10063a7bc
//
// 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:32 +0000
//
float __fastcall sub_100639784(__int64 a1)
{
__int64 i; // x8
_QWORD *v2; // x9
__int64 j; // x8
_QWORD *v4; // x10
__int64 k; // x8
_QWORD *v6; // x9
__int64 m; // x8
_QWORD *v8; // x9
__int64 v9; // x19
__int64 v10; // x20
__int64 v11; // x21
__int64 v12; // x22
for ( i = 0; i != 512; i += 16 )
{
v2 = (_QWORD *)(a1 + i);
v2[180] = 0;
v2[436] = 0;
v2[692] = 0;
v2[948] = 0;
}
for ( j = 4000; j != 4512; j += 16 )
{
v4 = (_QWORD *)(a1 + j);
*(_QWORD *)(a1 + j - 2048) = 0;
*v4 = 0;
v4[256] = 0;
v4[512] = 0;
}
for ( k = 0; k != 512; k += 16 )
{
v6 = (_QWORD *)(a1 + k);
v6[308] = 0;
v6[564] = 0;
v6[820] = 0;
v6[1076] = 0;
}
for ( m = 0; m != 512; m += 16 )
{
v8 = (_QWORD *)(a1 + m);
v8[372] = 0;
v8[628] = 0;
v8[884] = 0;
v8[1140] = 0;
}
v9 = a1 + 544;
v10 = a1 + 768;
v11 = a1 + 656;
v12 = a1 + 880;
sub_100620934(a1 + 544, 0);
sub_100620934(v10, 0);
sub_100620934(v11, 0);
sub_100620934(v12, 0);
sub_100620934(v9, 0);
sub_100620934(v10, 0);
sub_100620934(v11, 0);
return sub_100620934(v12, 0);
}