// // SecretRewardsLayer::moveToSecondaryLayer from 0xba1ca0 to 0xba1dd4 (308 bytes) // // 2 xrefs: // > SecretRewardsLayer::onChestType @ 0xba1e1c // > @ 0xa6918 // // This function is hookable on this platform (idp: arm, 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 13:02:47 +0000 // __int64 __fastcall SecretRewardsLayer::moveToSecondaryLayer(SecretRewardsLayer *this, signed int a2) { cocos2d::CCDirector *v4; // x0 cocos2d::CCDirector *v6; // x0 const cocos2d::CCPoint *v7; // x1 cocos2d::CCEaseBounceOut *v8; // x0 cocos2d::CCActionInterval *v9; // x1 cocos2d::CCAction *v10; // x0 __int64 v11; // x22 void (__fastcall *v12)(__int64, _BYTE *); // x23 const cocos2d::CCPoint *v13; // x1 cocos2d::CCEaseBounceOut *v14; // x0 cocos2d::CCActionInterval *v15; // x1 cocos2d::CCAction *v16; // x0 __int64 v17; // [xsp+48h] [xbp+48h] BYREF _BYTE v18[8]; // [xsp+50h] [xbp+50h] BYREF v4 = (cocos2d::CCDirector *)*((unsigned __int8 *)this + 584); if ( (_DWORD)v4 ) { *((_DWORD *)this + 147) = a2; *((_BYTE *)this + 584) = 0; v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4); cocos2d::CCDirector::getWinSize(&v17, v6); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 68) + 1000LL))(*((_QWORD *)this + 68), 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, 0.0, (float)-*((float *)&v17 + 1) - 100.0); v8 = (cocos2d::CCEaseBounceOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)v18, 0.5, v7); v10 = (cocos2d::CCAction *)cocos2d::CCEaseBounceOut::create(v8, v9); cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 53), v10); SecretRewardsLayer::createSecondaryLayer(this, a2); v11 = *((_QWORD *)this + 54); v12 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v11 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, 0.0, *((float *)&v17 + 1)); v12(v11, v18); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, 0.0, 0.0); v14 = (cocos2d::CCEaseBounceOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)v18, 0.5, v13); v16 = (cocos2d::CCAction *)cocos2d::CCEaseBounceOut::create(v14, v15); cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 54), v16); SecretRewardsLayer::updateBackButton((cocos2d::CCNode **)this); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source