//
// CheckpointGameObject::triggerActivated from 0x4e91a8 to 0x4e92e8 (320 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:51:07 +0000
//
int __fastcall CheckpointGameObject::triggerActivated(CheckpointGameObject *this, float a2)
{
int v4; // r5
int i; // r3
cocos2d::CCNode *v6; // r6
float v7; // r2
cocos2d::CCEaseElasticOut *v8; // r0
float v9; // r2
cocos2d::CCAction *v10; // r0
const char *v11; // r1
cocos2d::CCNode *v12; // r9
int v13; // r6
void (__fastcall *v14)(cocos2d::CCNode *, _DWORD *); // r10
float v15; // s17
int v16; // r0
float v17; // r1
cocos2d::CCSequence *v18; // r11
float v19; // r1
cocos2d::CCFiniteTimeAction *v20; // r10
int v21; // r0
cocos2d::CCAction *v22; // r0
_DWORD v24[2]; // [sp+4h] [bp-10h] BYREF
v4 = *((unsigned __int8 *)this + 1648);
if ( !*((_BYTE *)this + 1648) )
{
*((_BYTE *)this + 1648) = 1;
for ( i = *(_DWORD *)this; ; i = **((_DWORD **)this + 189) )
{
v6 = (cocos2d::CCNode *)(*(int (**)(void))(i + 240))();
(*(void (__fastcall **)(cocos2d::CCNode *, int))(*(_DWORD *)v6 + 64))(v6, 1068708659);
(*(void (__fastcall **)(cocos2d::CCNode *, int))(*(_DWORD *)v6 + 72))(v6, 1066192077);
v8 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3F000000, 1.0, v7);
v10 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v8, (cocos2d::CCActionInterval *)0x3E99999A, v9);
cocos2d::CCNode::runAction(v6, v10);
if ( v4 == 1 )
break;
v4 = 1;
}
CheckpointGameObject::updateCheckpointSpriteVisibility(this);
v12 = (cocos2d::CCNode *)cocos2d::CCSprite::createWithSpriteFrameName(
(cocos2d::CCSprite *)"checkpoint_01_shine_001.png",
v11);
v13 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1128);
(*(void (__fastcall **)(int, cocos2d::CCNode *, int))(*(_DWORD *)v13 + 232))(v13, v12, 1);
v14 = *(void (__fastcall **)(cocos2d::CCNode *, _DWORD *))(*(_DWORD *)v12 + 92);
v15 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v13 + 164))(v13);
v16 = (*(int (__fastcall **)(int))(*(_DWORD *)v13 + 164))(v13);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, v15 * 0.5, *(float *)(v16 + 4) * 0.5);
v14(v12, v24);
v18 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3DCCCCCD, v17);
v20 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCFadeOut::create(COERCE_COCOS2D_CCFADEOUT_(0.5), v19);
v24[0] = 268;
v24[1] = 1;
v21 = cocos2d::CCCallFunc::create(v12, 268, 1);
v22 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v18, v20, v21, 0);
cocos2d::CCNode::runAction(v12, v22);
}
return EffectGameObject::triggerActivated((int)this, a2);
}