//
// sub_1003ACEA4 from 0x1003acea4 to 0x1003ad00c (360 bytes)
//
// 1 xrefs:
// > SecretLayer3::dialogClosed @ 0x1003ae53c
//
// 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:03:52 +0000
//
__int64 __fastcall sub_1003ACEA4(__int64 a1)
{
unsigned int v2; // w20
__int64 v3; // x21
__int64 v4; // x21
float *v5; // x22
float *v6; // x0
_OWORD *v7; // x23
float *v8; // x0
__int64 v9; // x1
__int64 v10; // x2
__int64 v11; // x3
__int64 v12; // x4
__int64 v13; // x5
__int64 v14; // x6
__int64 v15; // x7
__int64 v16; // x0
float *v17; // x20
char v18; // w0
__int64 v19; // x1
__int64 v20; // x2
__int64 v21; // x3
__int64 v22; // x4
__int64 v23; // x5
__int64 v24; // x6
__int64 v25; // x7
__int64 v26; // x1
if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 432)) )
{
v2 = 0;
do
{
v3 = sub_1002E75A0(*(_QWORD *)(a1 + 432), v2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1056LL))(v3, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 344LL))(v3, 1);
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1072LL))(v3);
v5 = cocos2d::CCDelayTime::create((float)++v2 * 0.1);
v6 = cocos2d::CCScaleTo::create_1(0.5, 1.0);
v7 = cocos2d::CCEaseBounceOut::create((__int64)v6);
v8 = cocos2d::CCFadeIn::create(0.15);
LOBYTE(v7) = (unsigned __int8)cocos2d::CCSpawn::createWithTwoActions((__int64)v7, (__int64)v8);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, 2.0);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 912LL))(v4, 0);
v16 = sub_10021D420((__int64)v5, v9, v10, v11, v12, v13, v14, v15, (char)v7);
cocos2d::CCNode::runAction(v4, v16);
}
while ( v2 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 432)) );
}
v17 = cocos2d::CCDelayTime::create(2.0);
v18 = (unsigned __int8)cocos2d::CCCallFunc::create(a1, (__int64)sub_1003AD00C, 0);
v26 = sub_10021D420((__int64)v17, v19, v20, v21, v22, v23, v24, v25, v18);
return cocos2d::CCNode::runAction(a1, v26);
}