//
// sub_1003E0D50 from 0x1003e0d50 to 0x1003e0dd0 (128 bytes)
//
// 4 xrefs:
// > SetupGradientPopup::dSetupGradientPopup @ 0x1003e0dd4
// > sub_1003E0DD8 @ 0x1003e0ddc
// > sub_1003E0DE0 @ 0x1003e0de8
// > sub_1003E0DF4 @ 0x1003e0e00
//
// 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:04:22 +0000
//
__int64 __fastcall sub_1003E0D50(_QWORD *a1)
{
_DWORD *v2; // x0
*a1 = off_100948E98;
a1[40] = off_100949488;
a1[41] = &off_1009494F8;
a1[42] = off_100949510;
a1[43] = off_100949530;
a1[44] = off_100949558;
a1[51] = off_100949588;
a1[54] = off_100949608;
a1[68] = off_100949628;
a1[83] = &off_100949670;
a1[84] = off_100949688;
v2 = (_DWORD *)a1[129];
if ( v2 )
cocos2d::CCObject::release(v2);
return sub_1001ABB48((__int64)a1);
}