//
// SetupEnterEffectPopup::onClose from 0xb438a0 to 0xb43988 (232 bytes)
//
// 2 xrefs:
// > ??> @ 0xce9f8
// > ??> @ 0x14bc0b8
//
// 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 13:01:52 +0000
//
__int64 __fastcall SetupEnterEffectPopup::onClose(SetupEnterEffectPopup *this, cocos2d::CCObject *a2)
{
__int64 v4; // x0
int v5; // w1
int v6; // w3
char v7; // w4
int v8; // w2
cocos2d::CCArray *v10; // x0
unsigned int v11; // w20
__int64 v12; // x0
int v13; // w3
int v14; // w2
char v15; // w4
int v16; // w1
bool v17; // cf
unsigned int v18; // w1
if ( *((_DWORD *)this + 256) == 3021 && *((_BYTE *)this + 1080) )
{
v4 = *((_QWORD *)this + 85);
if ( v4 )
{
v5 = *((_DWORD *)this + 268);
v6 = *((_DWORD *)this + 266);
v7 = *((_BYTE *)this + 1077);
v8 = *((_DWORD *)this + 267);
*(_BYTE *)(v4 + 1624) = *((_BYTE *)this + 1076);
*(_BYTE *)(v4 + 1625) = v7;
*(_DWORD *)(v4 + 1620) = v5;
*(_DWORD *)(v4 + 1612) = v6;
*(_DWORD *)(v4 + 1616) = v8;
return SetupTriggerPopup::onClose((GameObject **)this, a2);
}
v10 = *((cocos2d::CCArray **)this + 86);
if ( v10 )
{
v11 = 0;
while ( 1 )
{
v17 = v11 >= (unsigned int)cocos2d::CCArray::count(v10);
v18 = v11++;
if ( v17 )
break;
v12 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v18);
v13 = *((_DWORD *)this + 266);
v14 = *((_DWORD *)this + 267);
v15 = *((_BYTE *)this + 1077);
v16 = *((_DWORD *)this + 268);
*(_BYTE *)(v12 + 1624) = *((_BYTE *)this + 1076);
*(_BYTE *)(v12 + 1625) = v15;
*(_DWORD *)(v12 + 1612) = v13;
*(_DWORD *)(v12 + 1616) = v14;
*(_DWORD *)(v12 + 1620) = v16;
v10 = *((cocos2d::CCArray **)this + 86);
}
}
}
return SetupTriggerPopup::onClose((GameObject **)this, a2);
}