//
// sub_1002638B0 from 0x1002638b0 to 0x100263909 (89 bytes)
//
// 7 xrefs:
// > sub_100243640 @ 0x100243645
// > sub_100243650 @ 0x100243659
// > InfoAlertButton::dInfoAlertButton @ 0x1005a3354
// > sub_1005A3360 @ 0x1005a33ae
// > CreateMenuItem::dCreateMenuItem @ 0x100609732
// > CreateMenuItem::dCreateMenuItem @ 0x100609759
// > sub_100609760 @ 0x10060979c
//
// This function is hookable on this platform (idp: pc, 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 12:27:32 +0000
//
__int64 __fastcall sub_1002638B0(__int64 a1)
{
*(_QWORD *)a1 = off_100AF5758;
*(_QWORD *)(a1 + 320) = off_100AF5BD0;
if ( (*(_BYTE *)(a1 + 440) & 1) != 0 )
operator delete(*(void **)(a1 + 456));
if ( (*(_BYTE *)(a1 + 416) & 1) != 0 )
operator delete(*(void **)(a1 + 432));
return sub_1003A7C30(a1);
}