{"type": "func", "start": 5149096, "end": 5149416, "name": "CheckpointGameObject::triggerActivated", "pseudocode": "// \n// CheckpointGameObject::triggerActivated from 0x4e91a8 to 0x4e92e8 (320 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:51:07 +0000\n// \n\nint __fastcall CheckpointGameObject::triggerActivated(CheckpointGameObject *this, float a2)\n{\n  int v4; // r5\n  int i; // r3\n  cocos2d::CCNode *v6; // r6\n  float v7; // r2\n  cocos2d::CCEaseElasticOut *v8; // r0\n  float v9; // r2\n  cocos2d::CCAction *v10; // r0\n  const char *v11; // r1\n  cocos2d::CCNode *v12; // r9\n  int v13; // r6\n  void (__fastcall *v14)(cocos2d::CCNode *, _DWORD *); // r10\n  float v15; // s17\n  int v16; // r0\n  float v17; // r1\n  cocos2d::CCSequence *v18; // r11\n  float v19; // r1\n  cocos2d::CCFiniteTimeAction *v20; // r10\n  int v21; // r0\n  cocos2d::CCAction *v22; // r0\n  _DWORD v24[2]; // [sp+4h] [bp-10h] BYREF\n\n  v4 = *((unsigned __int8 *)this + 1648);\n  if ( !*((_BYTE *)this + 1648) )\n  {\n    *((_BYTE *)this + 1648) = 1;\n    for ( i = *(_DWORD *)this; ; i = **((_DWORD **)this + 189) )\n    {\n      v6 = (cocos2d::CCNode *)(*(int (**)(void))(i + 240))();\n      (*(void (__fastcall **)(cocos2d::CCNode *, int))(*(_DWORD *)v6 + 64))(v6, 1068708659);\n      (*(void (__fastcall **)(cocos2d::CCNode *, int))(*(_DWORD *)v6 + 72))(v6, 1066192077);\n      v8 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create((cocos2d::CCScaleTo *)0x3F000000, 1.0, v7);\n      v10 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v8, (cocos2d::CCActionInterval *)0x3E99999A, v9);\n      cocos2d::CCNode::runAction(v6, v10);\n      if ( v4 == 1 )\n        break;\n      v4 = 1;\n    }\n    CheckpointGameObject::updateCheckpointSpriteVisibility(this);\n    v12 = (cocos2d::CCNode *)cocos2d::CCSprite::createWithSpriteFrameName(\n                               (cocos2d::CCSprite *)\"checkpoint_01_shine_001.png\",\n                               v11);\n    v13 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1128);\n    (*(void (__fastcall **)(int, cocos2d::CCNode *, int))(*(_DWORD *)v13 + 232))(v13, v12, 1);\n    v14 = *(void (__fastcall **)(cocos2d::CCNode *, _DWORD *))(*(_DWORD *)v12 + 92);\n    v15 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v13 + 164))(v13);\n    v16 = (*(int (__fastcall **)(int))(*(_DWORD *)v13 + 164))(v13);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v24, v15 * 0.5, *(float *)(v16 + 4) * 0.5);\n    v14(v12, v24);\n    v18 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3DCCCCCD, v17);\n    v20 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCFadeOut::create(COERCE_COCOS2D_CCFADEOUT_(0.5), v19);\n    v24[0] = 268;\n    v24[1] = 1;\n    v21 = cocos2d::CCCallFunc::create(v12, 268, 1);\n    v22 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v18, v20, v21, 0);\n    cocos2d::CCNode::runAction(v12, v22);\n  }\n  return EffectGameObject::triggerActivated((int)this, a2);\n}", "assembly": "; \n; CheckpointGameObject::triggerActivated from 0x4e91a8 to 0x4e92e8 (320 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:51:07 +0000\n; \nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x4e91a8\nMOV             R4, R0                                                 ; +0x4, 0x4e91ac\nVPUSH           {D8}                                                   ; +0x6, 0x4e91ae\nMOV             R7, R1                                                 ; +0xa, 0x4e91b2\nLDR             R3, =(__stack_chk_guard_ptr - 0x4E91BA)                ; +0xc, 0x4e91b4\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xe, 0x4e91b6\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x10, 0x4e91b8\nLDRB.W          R5, [R0,#0x670]                                        ; +0x12, 0x4e91ba\nSUB             SP, SP, #0x14                                          ; +0x16, 0x4e91be\nLDR             R2, [R3]                                               ; +0x18, 0x4e91c0\nMOV             R8, R3                                                 ; +0x1a, 0x4e91c2\nSTR             R2, [SP,#0x14+var_8]                                   ; +0x1c, 0x4e91c4\nCMP             R5, #0                                                 ; +0x1e, 0x4e91c6\nBNE             loc_4E92C8                                             ; +0x20, 0x4e91c8\nMOVS            R3, #1                                                 ; +0x22, 0x4e91ca\nSTRB.W          R3, [R0,#0x670]                                        ; +0x24, 0x4e91cc\nLDR             R3, [R0]                                               ; +0x28, 0x4e91d0\nLDR.W           R3, [R3,#0xF0]                                         ; +0x2a, 0x4e91d2\nMOV.W           R1, #0x468                                             ; +0x2e, 0x4e91d6\nBLX             R3                                                     ; +0x32, 0x4e91da\nLDR             R1, =0x3FB33333                                        ; +0x34, 0x4e91dc\nLDR             R3, [R0]                                               ; +0x36, 0x4e91de\nMOV             R6, R0                                                 ; +0x38, 0x4e91e0\nLDR             R3, [R3,#0x40]                                         ; +0x3a, 0x4e91e2\nBLX             R3                                                     ; +0x3c, 0x4e91e4\nLDR             R3, [R6]                                               ; +0x3e, 0x4e91e6\nMOV             R0, R6                                                 ; +0x40, 0x4e91e8\nLDR             R1, =0x3F8CCCCD                                        ; +0x42, 0x4e91ea\nLDR             R3, [R3,#0x48]                                         ; +0x44, 0x4e91ec\nBLX             R3                                                     ; +0x46, 0x4e91ee\nMOV.W           R1, #0x3F800000; float                                 ; +0x48, 0x4e91f0\nMOV.W           R0, #0x3F000000; this                                  ; +0x4c, 0x4e91f4\nBL              _ZN7cocos2d9CCScaleTo6createEff; cocos2d::CCScaleTo::create(float,float) ; +0x50, 0x4e91f8\nLDR             R1, =0x3E99999A; cocos2d::CCActionInterval *           ; +0x54, 0x4e91fc\nBL              _ZN7cocos2d16CCEaseElasticOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0x56, 0x4e91fe\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x5a, 0x4e9202\nMOV             R0, R6; this                                           ; +0x5c, 0x4e9204\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x5e, 0x4e9206\nCMP             R5, #1                                                 ; +0x62, 0x4e920a\nBEQ             loc_4E9218                                             ; +0x64, 0x4e920c\nLDR.W           R0, [R4,#0x2F4]                                        ; +0x66, 0x4e920e\nMOVS            R5, #1                                                 ; +0x6a, 0x4e9212\nLDR             R3, [R0]                                               ; +0x6c, 0x4e9214\nB               loc_4E91D2                                             ; +0x6e, 0x4e9216\nMOV             R0, R4; this                                           ; +0x70, 0x4e9218\nVMOV.F32        S16, #0.5                                              ; +0x72, 0x4e921a\nBL              _ZN20CheckpointGameObject32updateCheckpointSpriteVisibilityEv; CheckpointGameObject::updateCheckpointSpriteVisibility(void) ; +0x76, 0x4e921e\nLDR             R0, =(aCheckpoint01Sh - 0x4E9228); \"checkpoint_01_shine_001.png\" ; +0x7a, 0x4e9222\nADD             R0, PC; \"checkpoint_01_shine_001.png\"                  ; +0x7c, 0x4e9224\nBL              _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x7e, 0x4e9226\nLDR             R3, [R4]                                               ; +0x82, 0x4e922a\nMOV.W           R1, #0x468                                             ; +0x84, 0x4e922c\nLDR.W           R3, [R3,#0xF0]                                         ; +0x88, 0x4e9230\nMOV             R9, R0                                                 ; +0x8c, 0x4e9234\nMOV             R0, R4                                                 ; +0x8e, 0x4e9236\nBLX             R3                                                     ; +0x90, 0x4e9238\nMOV             R2, R5                                                 ; +0x92, 0x4e923a\nMOV             R1, R9                                                 ; +0x94, 0x4e923c\nADD             R5, SP, #0x14+var_10                                   ; +0x96, 0x4e923e\nLDR             R3, [R0]                                               ; +0x98, 0x4e9240\nMOV             R6, R0                                                 ; +0x9a, 0x4e9242\nLDR.W           R3, [R3,#0xE8]                                         ; +0x9c, 0x4e9244\nBLX             R3                                                     ; +0xa0, 0x4e9248\nLDR.W           R3, [R9]                                               ; +0xa2, 0x4e924a\nMOV             R0, R6                                                 ; +0xa6, 0x4e924e\nLDR.W           R10, [R3,#0x5C]                                        ; +0xa8, 0x4e9250\nLDR             R3, [R6]                                               ; +0xac, 0x4e9254\nLDR.W           R3, [R3,#0xA4]                                         ; +0xae, 0x4e9256\nBLX             R3                                                     ; +0xb2, 0x4e925a\nLDR             R3, [R6]                                               ; +0xb4, 0x4e925c\nLDR.W           R3, [R3,#0xA4]                                         ; +0xb6, 0x4e925e\nVLDR            S17, [R0]                                              ; +0xba, 0x4e9262\nMOV             R0, R6                                                 ; +0xbe, 0x4e9266\nBLX             R3                                                     ; +0xc0, 0x4e9268\nLDR             R6, =(unk_BEC658 - 0x4E9270)                           ; +0xc2, 0x4e926a\nADD             R6, PC; unk_BEC658                                     ; +0xc4, 0x4e926c\nVMUL.F32        S17, S17, S16                                          ; +0xc6, 0x4e926e\nADDS            R6, #(unk_BEC66C - 0xBEC658)                           ; +0xca, 0x4e9272\nVMOV            R1, S17; float                                         ; +0xcc, 0x4e9274\nVLDR            S15, [R0,#4]                                           ; +0xd0, 0x4e9278\nMOV             R0, R5; this                                           ; +0xd4, 0x4e927c\nVMUL.F32        S15, S15, S16                                          ; +0xd6, 0x4e927e\nVMOV            R2, S15; float                                         ; +0xda, 0x4e9282\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xde, 0x4e9286\nMOV             R1, R5                                                 ; +0xe2, 0x4e928a\nMOV             R0, R9                                                 ; +0xe4, 0x4e928c\nBLX             R10                                                    ; +0xe6, 0x4e928e\nLDR             R0, =0x3DCCCCCD; this                                  ; +0xe8, 0x4e9290\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0xea, 0x4e9292\nMOV             R11, R0                                                ; +0xee, 0x4e9296\nVMOV            R0, S16; this                                          ; +0xf0, 0x4e9298\nBL              _ZN7cocos2d9CCFadeOut6createEf; cocos2d::CCFadeOut::create(float) ; +0xf4, 0x4e929c\nMOV             R10, R0                                                ; +0xf8, 0x4e92a0\nLDM.W           R6, {R0,R1}                                            ; +0xfa, 0x4e92a2\nSTM.W           R5, {R0,R1}                                            ; +0xfe, 0x4e92a6\nMOV             R0, R9                                                 ; +0x102, 0x4e92aa\nLDM.W           R5, {R1,R2}                                            ; +0x104, 0x4e92ac\nBL              _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x108, 0x4e92b0\nMOV             R1, R10; cocos2d::CCFiniteTimeAction *                 ; +0x10c, 0x4e92b4\nMOVS            R3, #0                                                 ; +0x10e, 0x4e92b6\nMOV             R2, R0                                                 ; +0x110, 0x4e92b8\nMOV             R0, R11; this                                          ; +0x112, 0x4e92ba\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x114, 0x4e92bc\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x118, 0x4e92c0\nMOV             R0, R9; this                                           ; +0x11a, 0x4e92c2\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x11c, 0x4e92c4\nMOV             R0, R4; this                                           ; +0x120, 0x4e92c8\nMOV             R1, R7; float                                          ; +0x122, 0x4e92ca\nBL              _ZN16EffectGameObject16triggerActivatedEf; EffectGameObject::triggerActivated(float) ; +0x124, 0x4e92cc\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x128, 0x4e92d0\nLDR.W           R3, [R8]                                               ; +0x12a, 0x4e92d2\nCMP             R2, R3                                                 ; +0x12e, 0x4e92d6\nBEQ             loc_4E92DE                                             ; +0x130, 0x4e92d8\nBLX             __stack_chk_fail                                       ; +0x132, 0x4e92da\nADD             SP, SP, #0x14                                          ; +0x136, 0x4e92de\nVPOP            {D8}                                                   ; +0x138, 0x4e92e0\nPOP.W           {R4-R11,PC}                                            ; +0x13c, 0x4e92e4", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}