//
// SetupKeyframePopup::onClose from 0x6ada08 to 0x6ada6e (102 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:37 +0000
//
int __fastcall SetupKeyframePopup::onClose(SetupKeyframePopup *this, cocos2d::CCObject *a2)
{
int v5; // r2
int v6; // r3
int v7; // r5
int v8; // r0
int *v9; // r2
int v10; // r3
int *v11; // r2
int *v12; // r3
int v13; // r1
int v14; // t1
if ( *((_BYTE *)this + 720) )
{
v5 = *((_DWORD *)this + 179);
if ( v5 )
{
v6 = *((_DWORD *)this + 132);
v7 = *(_DWORD *)(v6 + 1284);
v8 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v5 + 11232), *(_DWORD *)(v6 + 1656));
if ( v8 )
{
v9 = *(int **)(v8 + 52);
v10 = *v9;
if ( *v9 )
{
v11 = (int *)v9[3];
v12 = &v11[v10 - 1];
while ( v11 <= v12 )
{
v14 = *v11++;
v13 = v14;
if ( !v14 )
break;
*(_DWORD *)(v13 + 1284) = v7;
*(_BYTE *)(v13 + 1681) = 1;
}
}
}
}
}
return SetupTriggerPopup::onClose(this, a2);
}