// // CreatorLayer::checkQuestsStatus from 0x3ab204 to 0x3ab29a (150 bytes) // // 2 xrefs: // > CreatorLayer::sceneWillResume @ 0x3ab2cc // > CreatorLayer::init @ 0x3ab71e // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CreatorLayer::checkQuestsStatus(CreatorLayer *a1) { cocos2d::CCSprite *m_questsSprite; // r0 int v3; // r4 GameStatsManager *v4; // r0 GJChallengeItem *Challenge; // r0 cocos2d::CCSprite *v6; // r4 void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r7 cocos2d::CCPoint v8; // [sp+4h] [bp-18h] BYREF _BYTE v9[4]; // [sp+Ch] [bp-10h] BYREF float v10; // [sp+10h] [bp-Ch] m_questsSprite = a1->m_questsSprite; if ( m_questsSprite ) { v3 = 1; m_questsSprite->removeAllChildren(m_questsSprite); while ( 1 ) { v4 = GameStatsManager::sharedState(); Challenge = GameStatsManager::getChallenge(v4, v3); if ( Challenge ) { if ( Challenge->m_canClaim ) break; } if ( ++v3 == 4 ) return; } v6 = cocos2d::CCSprite::createWithSpriteFrameName("exMark_001.png"); a1->m_questsSprite->addChild_0(a1->m_questsSprite, v6, 10); ((void (__fastcall *)(cocos2d::CCSprite *, int))v6->setScale)(v6, 1061997773); setPosition = v6->setPosition; ((void (__fastcall *)(_BYTE *))a1->m_questsSprite->getScaledContentSize)(v9); cocos2d::CCPoint::CCPoint(&v8, 20.0, v10); setPosition(v6, &v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source