//
// sub_1004C2D38 from 0x1004c2d38 to 0x1004c2df8 (192 bytes)
//
// 4 xrefs:
// > DropdownListPopup::dDropdownListPopup @ 0x1004c2df8
// > sub_1004C2DFC @ 0x1004c2e00
// > sub_1004C2E04 @ 0x1004c2e0c
// > sub_1004C2E18 @ 0x1004c2e24
//
// 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:06:21 +0000
//
__int64 __fastcall sub_1004C2D38(__int64 a1)
{
void *v2; // x0
void **v4; // [xsp+8h] [xbp-18h] BYREF
*(_QWORD *)a1 = off_100984D58;
*(_QWORD *)(a1 + 320) = off_1009852A8;
*(_QWORD *)(a1 + 328) = &off_100985318;
*(_QWORD *)(a1 + 336) = off_100985330;
*(_QWORD *)(a1 + 344) = off_100985350;
*(_QWORD *)(a1 + 352) = off_100985378;
*(_QWORD *)(a1 + 408) = off_1009853A8;
*(_QWORD *)(a1 + 432) = off_100985428;
*(_QWORD *)(a1 + 544) = off_100985448;
if ( *(char *)(a1 + 847) < 0 )
operator delete(*(void **)(a1 + 824));
if ( *(char *)(a1 + 791) < 0 )
operator delete(*(void **)(a1 + 768));
if ( *(char *)(a1 + 759) < 0 )
operator delete(*(void **)(a1 + 736));
v2 = *(void **)(a1 + 688);
if ( v2 )
{
*(_QWORD *)(a1 + 696) = v2;
operator delete(v2);
}
v4 = (void **)(a1 + 664);
sub_10013BA64(&v4);
return sub_10034A834(a1);
}