// // SecretRewardsLayer::moveToSecondaryLayer from 0x6cfdec to 0x6cfebc (208 bytes) // // 1 xrefs: // > SecretRewardsLayer::onChestType @ 0x6cfeea // // 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:57:02 +0000 // int __fastcall SecretRewardsLayer::moveToSecondaryLayer(int this, GJChestSprite *a2) { int v2; // r4 const cocos2d::CCPoint *v4; // r2 cocos2d::CCEaseBounceOut *v5; // r0 cocos2d::CCActionInterval *v6; // r1 cocos2d::CCAction *v7; // r0 int v8; // r7 void (__fastcall *v9)(int, _BYTE *); // r8 const cocos2d::CCPoint *v10; // r2 cocos2d::CCEaseBounceOut *v11; // r0 cocos2d::CCActionInterval *v12; // r1 cocos2d::CCAction *v13; // r0 _BYTE v14[4]; // [sp+4h] [bp-14h] BYREF float v15; // [sp+8h] [bp-10h] _BYTE v16[8]; // [sp+Ch] [bp-Ch] BYREF v2 = this; if ( *(_BYTE *)(this + 416) ) { *(_BYTE *)(this + 416) = 0; *(_DWORD *)(this + 420) = a2; cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)this); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v14); (*(void (__fastcall **)(_DWORD, _DWORD))(**(_DWORD **)(v2 + 388) + 500))(*(_DWORD *)(v2 + 388), 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 0.0, -100.0 - v15); v5 = (cocos2d::CCEaseBounceOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F000000, COERCE_FLOAT(v16), v4); v7 = (cocos2d::CCAction *)cocos2d::CCEaseBounceOut::create(v5, v6); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(v2 + 324), v7); SecretRewardsLayer::createSecondaryLayer((SecretRewardsLayer *)v2, a2); v8 = *(_DWORD *)(v2 + 328); v9 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 0.0, v15); v9(v8, v16); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, 0.0, 0.0); v11 = (cocos2d::CCEaseBounceOut *)cocos2d::CCMoveTo::create((cocos2d::CCMoveTo *)0x3F000000, COERCE_FLOAT(v16), v10); v13 = (cocos2d::CCAction *)cocos2d::CCEaseBounceOut::create(v11, v12); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(v2 + 328), v13); return SecretRewardsLayer::updateBackButton((cocos2d::CCNode **)v2); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source