// // LevelInfoLayer::onRateDemon from 0x1402fe720 to 0x1402fe89f (383 bytes) // // 2 xrefs: // > LevelInfoLayer::init @ 0x1402f873b // > @ 0x1406d428c // // 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 // // Hidden C++ exception states: #wind=1 void LevelInfoLayer::onRateDemon(LevelInfoLayer *a1, cocos2d::CCObject *a2) { int v3; // ebx RateDemonLayer *v4; // rdi void (*show)(FLAlertLayer *); // rdx if ( !a1->m_isBusy ) { v3 = a1->m_level->m_levelID.random - a1->m_level->m_levelID.seed; v4 = (RateDemonLayer *)operator new(0x2C8u); FLAlertLayer::FLAlertLayer(v4); v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (RateDemonLayer_vtbl *)&RateDemonLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&RateDemonLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&RateDemonLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&RateDemonLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&RateDemonLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&RateDemonLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&RateDemonLayer::`vftable'; v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&RateDemonLayer::`vftable'; v4->UploadPopupDelegate::__vftable = (UploadPopupDelegate_vtbl *)&RateDemonLayer::`vftable'; v4->UploadActionDelegate::__vftable = (UploadActionDelegate_vtbl *)&RateDemonLayer::`vftable'; v4->m_uploadFinished = 0; v4->m_submitButton = nullptr; v4->m_demons = nullptr; v4->m_unkPtr = nullptr; *(_QWORD *)&v4->m_levelID = 0; v4->m_moderator = 0; v4->m_popup = nullptr; v4->m_delegate = nullptr; if ( RateDemonLayer::init(v4, v3) ) { cocos2d::CCObject::autorelease(v4); } else { ((void (__fastcall *)(RateDemonLayer *, __int64))v4->~RateDemonLayer)(v4, 1); v4 = nullptr; } v4->m_delegate = &a1->RateLevelDelegate; show = (void (*)(FLAlertLayer *))v4->show; if ( show == FLAlertLayer::show ) FLAlertLayer::show(v4); else show(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source