//
// sub_100031CF0 from 0x100031cf0 to 0x100031d70 (128 bytes)
//
// 4 xrefs:
// > SetupRandAdvTriggerPopup::dSetupRandAdvTriggerPopup @ 0x100031d74
// > sub_100031D78 @ 0x100031d7c
// > sub_100031D80 @ 0x100031d88
// > sub_100031D94 @ 0x100031da0
//
// 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 10:57:31 +0000
//
__int64 __fastcall sub_100031CF0(_QWORD *a1)
{
__int64 v2; // x0
*a1 = off_1008B31F8;
a1[40] = off_1008B37E8;
a1[41] = &off_1008B3858;
a1[42] = off_1008B3870;
a1[43] = off_1008B3890;
a1[44] = off_1008B38B8;
a1[51] = off_1008B38E8;
a1[54] = off_1008B3968;
a1[68] = off_1008B3988;
a1[83] = &off_1008B39D0;
a1[84] = off_1008B39E8;
v2 = a1[127];
if ( v2 )
cocos2d::CCObject::release(v2);
return sub_1001ABB48(a1);
}