// // SecretRewardsLayer::onChestType from 0x14056aa80 to 0x14056abcf (335 bytes) // // 4 xrefs: // > SecretRewardsLayer::init @ 0x140568d6b // > @ 0x1408db9b4 // > @ 0x1408db9c4 // > @ 0x14092c60c // // 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:34:19 +0000 // __int64 __fastcall SecretRewardsLayer::onChestType(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v5; // rcx unsigned int v6; // ebx __int64 v7; // rax const struct cocos2d::CCPoint *v8; // rax struct cocos2d::CCActionInterval *v9; // rax struct cocos2d::CCAction *v10; // rax __int64 *v11; // rdi __int64 v12; // rbx __int64 v13; // rax const struct cocos2d::CCPoint *v14; // rax struct cocos2d::CCActionInterval *v15; // rax struct cocos2d::CCAction *v16; // rax char v17; // [rsp+38h] [rbp+10h] BYREF float v18; // [rsp+3Ch] [rbp+14h] char v19; // [rsp+40h] [rbp+18h] BYREF result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); if ( (int)result >= 6 ) return SecretRewardsLayer::onSpecialItem(a1, a2); v6 = result + 3; if ( *(_BYTE *)(a1 + 584) ) { *(_BYTE *)(a1 + 584) = 0; *(_DWORD *)(a1 + 588) = v6; v7 = cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize(v7, &v17); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 544) + 920LL))(*(_QWORD *)(a1 + 544), 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, (float)-v18 - 100.0); v9 = cocos2d::CCMoveTo::create(0.5, v8); v10 = cocos2d::CCEaseBounceOut::create(v9); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 424), v10); SecretRewardsLayer::createSecondaryLayer(a1, v6); v11 = *(__int64 **)(a1 + 432); v12 = *v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, v18); (*(void (__fastcall **)(__int64 *, __int64))(v12 + 184))(v11, v13); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 0.0, 0.0); v15 = cocos2d::CCMoveTo::create(0.5, v14); v16 = cocos2d::CCEaseBounceOut::create(v15); cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 432), v16); return SecretRewardsLayer::updateBackButton(a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source