// // EndLevelLayer::showLayer from 0x534b38 to 0x534c52 (282 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:52:06 +0000 // cocos2d::CCDirector *__fastcall EndLevelLayer::showLayer(cocos2d::CCNode **this, int a2) { GameManager *v4; // r0 const cocos2d::CCPoint *v5; // r2 char *v6; // r1 cocos2d::CCDirector *v7; // r0 cocos2d::CCDelayTime *v8; // r1 float v9; // s16 cocos2d::CCEaseBounceOut *v10; // r0 cocos2d::CCActionInterval *v11; // r1 cocos2d::CCSequence *v12; // r6 cocos2d::CCFiniteTimeAction *v13; // r0 int v14; // r3 cocos2d::CCAction *v15; // r0 unsigned __int8 v16; // r2 cocos2d::CCAction *v17; // r0 cocos2d::CCArray *v18; // r0 v4 = (GameManager *)GameManager::sharedState((GameManager *)this); if ( GameManager::getGameVariable(v4, "0168") ) a2 = 1; cocos2d::CCNode::stopAllActions(*(this + 116)); (*((void (__fastcall **)(cocos2d::CCNode **))*this + 168))(this); v6 = (char *)(this + 110); if ( a2 ) { (*(void (__fastcall **)(_DWORD, char *))(*(_DWORD *)*(this + 116) + 92))(*(this + 116), v6); (*((void (__fastcall **)(cocos2d::CCNode **, int))*this + 146))(this, 100); (*((void (__fastcall **)(cocos2d::CCNode **))*this + 170))(this); EndLevelLayer::playStarEffect((cocos2d::CCDirector *)this, nullptr); EndLevelLayer::playCoinEffect((EndLevelLayer *)this, 0.0); EndLevelLayer::playCurrencyEffect((cocos2d::CCDirector *)this, nullptr); v7 = (cocos2d::CCDirector *)this; v8 = nullptr; } else { v9 = 0.7; v10 = (cocos2d::CCEaseBounceOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F800000, *(float *)&v6, v5); v12 = (cocos2d::CCSequence *)cocos2d::CCEaseBounceOut::create(v10, v11); v13 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, 680, 1); v15 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v12, v13, 0, v14, 680, 1); cocos2d::CCNode::runAction(*(this + 116), v15); (*((void (__fastcall **)(cocos2d::CCNode **, _DWORD))*this + 146))(this, 0); v17 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3F800000, COERCE_FLOAT(100), v16); cocos2d::CCNode::runAction((cocos2d::CCNode *)this, v17); EndLevelLayer::playCoinEffect((EndLevelLayer *)this, 0.7); v18 = *(this + 124); if ( v18 ) v9 = (float)((float)(unsigned int)cocos2d::CCArray::count(v18) * 0.35) + 0.7; EndLevelLayer::playStarEffect((cocos2d::CCDirector *)this, (cocos2d::CCDelayTime *)LODWORD(v9)); EndLevelLayer::playCurrencyEffect((cocos2d::CCDirector *)this, (cocos2d::CCDelayTime *)LODWORD(v9)); v8 = (cocos2d::CCDelayTime *)LODWORD(v9); v7 = (cocos2d::CCDirector *)this; } return EndLevelLayer::playDiamondEffect(v7, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source