// // CommunityCreditsPage::show from 0x140096220 to 0x1400963b1 (401 bytes) // // 4 xrefs: // > GJShopLayer::onCommunityCredits @ 0x1402abbc3 // > GJShopLayer::onCommunityCredits @ 0x1402abbaa // > @ 0x140540870 // > @ 0x1406c7248 // // 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 CommunityCreditsPage::show(CommunityCreditsPage *a1) { float v1; // xmm3_4 float v3; // xmm6_4 const struct cocos2d::CCPoint *v4; // rax cocos2d::CCLayer_vtbl *v5; // rbx const cocos2d::CCPoint *v6; // rax struct cocos2d::CCMoveTo *v7; // rax struct cocos2d::CCEaseElasticOut *v8; // rax cocos2d::ccColor3B *v9; // r8 __int64 v10; // rcx cocos2d::CCScene *m_scene; // rbx int v12; // eax struct cocos2d::CCFadeTo *v13; // rax cocos2d::ccColor3B *v14; // r8 _BOOL8 v15; // rdx float v16; // [rsp+20h] [rbp-18h] float v17; // [rsp+20h] [rbp-18h] cocos2d::CCPoint v18; // [rsp+40h] [rbp+8h] BYREF cocos2d::CCPoint v19; // [rsp+48h] [rbp+10h] BYREF if ( a1->m_noElasticity ) { FLAlertLayer::show(a1); } else { v3 = (float)a1->getOpacity(&a1->cocos2d::CCRGBAProtocol); v4 = a1->m_mainLayer->getPosition_0(a1->m_mainLayer); cocos2d::CCPoint::CCPoint(&v18, v4); v5 = a1->m_mainLayer->FLAlertLayer::__vftable; cocos2d::CCPoint::CCPoint(&v19, v18.x, 160.0); v5->setPosition_0(a1->m_mainLayer, v6); v7 = cocos2d::CCMoveTo::create(0.5, &v18); v8 = cocos2d::CCEaseElasticOut::create(v7, 0.60000002); cocos2d::CCNode::runAction((CCLightFlash *)a1->m_mainLayer, (cocos2d::CCPoint)v8, v9, v1, v16); m_scene = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v10) + 264); if ( a1->m_scene ) { m_scene = (cocos2d::CCScene *)a1->m_scene; } else { if ( cocos2d::CCScene::getHighestChildZ(m_scene) + 1 >= 105 ) v12 = cocos2d::CCScene::getHighestChildZ(m_scene) + 1; else v12 = 105; a1->m_ZOrder = v12; } if ( !a1->m_ZOrder ) a1->m_ZOrder = 105; ((void (__fastcall *)(cocos2d::CCScene *, CommunityCreditsPage *))m_scene->addChild_0)(m_scene, a1); a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, 0); v13 = cocos2d::CCFadeTo::create(0.14, (int)v3); cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v13, v14, v1, v17); LOBYTE(v15) = 1; a1->setVisible(a1, v15); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source