//
// sub_10013ADD4 from 0x10013add4 to 0x10013ae6c (152 bytes)
//
// 4 xrefs:
// > GJMessageCell::dGJMessageCell @ 0x10013ae70
// > sub_10013AE74 @ 0x10013ae78
// > sub_10013AE7C @ 0x10013ae84
// > sub_10013AE90 @ 0x10013ae9c
//
// 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:59:29 +0000
//
__int64 __fastcall sub_10013ADD4(_QWORD *a1)
{
__int64 v2; // x8
_DWORD *v3; // x0
*a1 = off_1008DCCE0;
a1[40] = off_1008DD190;
a1[41] = &off_1008DD200;
a1[42] = off_1008DD218;
a1[43] = &off_1008DD238;
a1[44] = off_1008DD260;
a1[69] = &off_1008DD290;
a1[70] = &off_1008DD2A8;
a1[71] = off_1008DD2C0;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1360) == a1 + 71 )
*(_QWORD *)(GameLevelManager::sharedState() + 1360) = 0;
v2 = a1[73];
if ( v2 )
*(_QWORD *)(v2 + 664) = 0;
v3 = (_DWORD *)a1[72];
if ( v3 )
cocos2d::CCObject::release(v3);
return sub_100037910((__int64)a1);
}