// // GJChestSprite::create from 0x140566f50 to 0x14056701c (204 bytes) // // 18 xrefs: // > LevelCell::loadCustomLevelCell @ 0x14014a1d0 // > GJNotificationCell::loadFromNotification @ 0x14015bb0c // > DailyLevelNode::init @ 0x140173671 // > FollowRewardPage::init @ 0x14020cbe6 // > GauntletNode::generateNode @ 0x1403027aa // > GauntletNode::generateNode @ 0x140302820 // > GauntletNode::generateNode @ 0x140302a0f // > GauntletNode::generateNode @ 0x140302a81 // > GJPathRewardPopup::init @ 0x14039807d // > GJPathRewardPopup::init @ 0x1403980f0 // > RewardUnlockLayer::init @ 0x140563d12 // > SecretRewardsLayer::init @ 0x140568d2b // > SecretRewardsLayer::init @ 0x1405694e9 // > SecretRewardsLayer::generateChestItems @ 0x14056b88d // > SecretLayer3::init @ 0x140580a87 // > SecretLayer3::init @ 0x140580da0 // > SecretLayer4::init @ 0x140586300 // > @ 0x14092c570 // // 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:17 +0000 // // Hidden C++ exception states: #wind=1 cocos2d::CCSprite *__fastcall GJChestSprite::create(int a1) { cocos2d::CCSprite *v2; // rbx bool v3; // al __int64 v4; // rcx v2 = (cocos2d::CCSprite *)operator new(0x268u); cocos2d::CCSprite::CCSprite(v2); *(_QWORD *)v2 = &GJChestSprite::`vftable'; *((_QWORD *)v2 + 40) = &GJChestSprite::`vftable'; *((_QWORD *)v2 + 43) = &GJChestSprite::`vftable'; *((_QWORD *)v2 + 75) = 0; *((_BYTE *)v2 + 608) = 0; v3 = cocos2d::CCSprite::init(v2); v4 = *(_QWORD *)v2; if ( v3 ) { *((_DWORD *)v2 + 150) = a1; (*(void (__fastcall **)(cocos2d::CCSprite *, void *))(v4 + 312))(v2, &unk_14090B5A0); GJChestSprite::switchToState(v2, 2, 0); cocos2d::CCObject::autorelease(v2); return v2; } else { (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v4 + 8))(v2, 1); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source