//
// sub_100636388 from 0x100636388 to 0x1006363b0 (40 bytes)
//
// 4 xrefs:
// > sub_100636CF4 @ 0x100636d18
// > sub_100636E00 @ 0x100636e24
// > sub_100636E4C @ 0x100636e68
// > sub_100637254 @ 0x10063729c
//
// 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:30 +0000
//
__int64 __fastcall sub_100636388(__int64 a1, __int64 a2)
{
_QWORD *v2; // x10
v2 = *(_QWORD **)(a2 + 584);
*v2 = *(_QWORD *)(a2 + 576);
*(_QWORD *)(*(_QWORD *)(a2 + 576) + 8LL) = v2;
*(_QWORD *)(a2 + 584) = a2 + 576;
*(_QWORD *)(a2 + 576) = a2 + 576;
return 0;
}