//
// SetupAreaTintTriggerPopup::onClose from 0x68e8e4 to 0x68e952 (110 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:10 +0000
//
int __fastcall SetupAreaTintTriggerPopup::onClose(SetupAreaTintTriggerPopup *this, cocos2d::CCObject *a2)
{
unsigned int v4; // r4
_DWORD *v5; // r4
_DWORD *v6; // r0
int v8; // [sp+4h] [bp-1Ch]
int v9; // [sp+8h] [bp-18h]
int v10; // [sp+Ch] [bp-14h]
int v11; // [sp+14h] [bp-Ch]
int v12; // [sp+18h] [bp-8h]
int v13; // [sp+1Ch] [bp-4h]
if ( *((_BYTE *)this + 744) )
{
v4 = *((_DWORD *)this + 132);
if ( v4 )
{
v5 = (_DWORD *)(v4 + 1432);
v8 = *((_DWORD *)this + 183);
v9 = *((_DWORD *)this + 184);
v10 = *((_DWORD *)this + 185);
*v5 = *((_DWORD *)this + 182);
v5[1] = v8;
v5[2] = v9;
v5[3] = v10;
}
else if ( *((_DWORD *)this + 133) )
{
while ( v4 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 133)) )
{
v6 = (_DWORD *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 133), v4++);
v11 = *((_DWORD *)this + 183);
v12 = *((_DWORD *)this + 184);
v13 = *((_DWORD *)this + 185);
v6[358] = *((_DWORD *)this + 182);
v6[359] = v11;
v6[360] = v12;
v6[361] = v13;
}
}
}
return SetupTriggerPopup::onClose(this, a2);
}