// // CheckpointGameObject::triggerActivated from 0x14065ae30 to 0x14065b216 (998 bytes) // // 4 xrefs: // > @ 0x140824248 // > @ 0x1408e9714 // > @ 0x1408e9724 // > @ 0x140931910 // // This function is hookable on this platform (idp: pc, 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 11:35:46 +0000 // void __fastcall CheckpointGameObject::triggerActivated(__int64 *a1, float a2) { __int64 v3; // rax cocos2d::CCNode *v4; // rbx struct cocos2d::CCActionInterval *v5; // rax struct cocos2d::CCAction *v6; // rax cocos2d::CCNode *v7; // rbx struct cocos2d::CCActionInterval *v8; // rax struct cocos2d::CCAction *v9; // rax __int64 v10; // rax __int64 v11; // rdx __int64 v12; // rax __int64 v13; // rdx __int64 v14; // rax __int64 v15; // rdx __int64 v16; // rax __int64 v17; // rax __int64 v18; // rdx __int64 v19; // rax __int64 v20; // rdx __int64 v21; // rax __int64 v22; // rdx __int64 v23; // rax char v24; // al struct cocos2d::CCSprite *v25; // r14 __int64 v26; // rdi float *v27; // rbx __int64 v28; // rsi __int64 v29; // rax __int64 v30; // rax __int64 v31; // rdi struct cocos2d::CCFadeOut *v32; // rbx struct cocos2d::CCFiniteTimeAction *v33; // rax struct cocos2d::CCAction *v34; // rax bool v35; // zf char v36; // [rsp+60h] [rbp+8h] BYREF if ( !*((_BYTE *)a1 + 1856) ) { v3 = *a1; *((_BYTE *)a1 + 1856) = 1; v4 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(__int64 *, __int64))(v3 + 472))(a1, 1128); (*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v4 + 120LL))(v4); (*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v4 + 136LL))(v4); v5 = cocos2d::CCScaleTo::create(0.5, 1.0); v6 = cocos2d::CCEaseElasticOut::create(v5, 0.30000001); cocos2d::CCNode::runAction(v4, v6); v7 = (cocos2d::CCNode *)(*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[112] + 472LL))(a1[112], 1128); (*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v7 + 120LL))(v7); (*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v7 + 136LL))(v7); v8 = cocos2d::CCScaleTo::create(0.5, 1.0); v9 = cocos2d::CCEaseElasticOut::create(v8, 0.30000001); cocos2d::CCNode::runAction(v7, v9); LOBYTE(v7) = *((_BYTE *)a1 + 1856); v10 = (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 472))(a1, 1125); LOBYTE(v11) = (_BYTE)v7 == 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 336LL))(v10, v11); LOBYTE(v7) = *((_BYTE *)a1 + 1856); v12 = (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 472))(a1, 1126); LOBYTE(v13) = (_BYTE)v7 == 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v12 + 336LL))(v12, v13); LOBYTE(v7) = *((_BYTE *)a1 + 1856); v14 = (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 472))(a1, 1127); LOBYTE(v15) = (_BYTE)v7 == 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v14 + 336LL))(v14, v15); v16 = (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 472))(a1, 1128); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v16 + 336LL))(v16, *((unsigned __int8 *)a1 + 1856)); LOBYTE(v7) = *((_BYTE *)a1 + 1856); v17 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[112] + 472LL))(a1[112], 1125); LOBYTE(v18) = (_BYTE)v7 == 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v17 + 336LL))(v17, v18); LOBYTE(v7) = *((_BYTE *)a1 + 1856); v19 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[112] + 472LL))(a1[112], 1126); LOBYTE(v20) = (_BYTE)v7 == 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v19 + 336LL))(v19, v20); LOBYTE(v7) = *((_BYTE *)a1 + 1856); v21 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[112] + 472LL))(a1[112], 1127); LOBYTE(v22) = (_BYTE)v7 == 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 336LL))(v21, v22); v23 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1[112] + 472LL))(a1[112], 1128); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v23 + 336LL))(v23, *((unsigned __int8 *)a1 + 1856)); if ( *((_BYTE *)a1 + 1856) ) { (*(void (__fastcall **)(__int64 *, __int16 *))(*a1 + 1344))(a1, &word_1407046D4); v24 = 1; } else { v24 = 0; } *((_BYTE *)a1 + 644) = v24; v25 = cocos2d::CCSprite::createWithSpriteFrameName("checkpoint_01_shine_001.png"); v26 = (*(__int64 (__fastcall **)(__int64 *, __int64))(*a1 + 472))(a1, 1128); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *, __int64))(*(_QWORD *)v26 + 456LL))(v26, v25, 1); v27 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v26 + 320LL))(v26); v28 = *(_QWORD *)v25; v29 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v26 + 320LL))(v26); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v36, *v27 * 0.5, *(float *)(v29 + 4) * 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v28 + 184))(v25, v30); v31 = cocos2d::CCCallFunc::create(v25, sub_14003F5B0); v32 = cocos2d::CCFadeOut::create(0.5); v33 = cocos2d::CCDelayTime::create(0.1); v34 = cocos2d::CCSequence::create(v33, v32, v31, 0); cocos2d::CCNode::runAction(v25, v34); } v35 = *((_BYTE *)a1 + 1680) == 0; *((float *)a1 + 418) = a2; if ( v35 ) *((_WORD *)a1 + 730) = 257; }
GD Web Decomp Icon

GD Web Decomp

Raw Source