// // FindBPMLayer::create from 0x309b54 to 0x309c52 (254 bytes) // // 1 xrefs: // > SongInfoLayer::onBPM @ 0x42d790 // // 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 // FindBPMLayer *FindBPMLayer::create(int a1) { FindBPMLayer *v2; // r4 FindBPMLayer_vtbl *v3; // r3 int *v4; // r0 v2 = (FindBPMLayer *)operator new(0x230u); cocos2d::CCLayerColor::CCLayerColor(v2); v2->m_controlConnected = -1; v2->m_joystickConnected = -1; v2->m_buttonMenu = nullptr; v2->m_alertProtocol = nullptr; v2->m_guidelineString.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8; v2->m_scene = nullptr; v2->m_reverseKeyBack = 0; v2->m_mainLayer = nullptr; v2->m_ZOrder = 0; v2->m_noElasticity = 0; v2->m_button1 = nullptr; v2->m_button2 = nullptr; v2->m_scrollingLayer = nullptr; v2->m_containsBorder = 0; v2->m_noAction = 0; v2->m_forcePrioRegistered = 0; v2->m_delegate = nullptr; v2->m_elapsed = 0.0; v2->m_recording = 0; v2->m_unk2b5 = 0; v2->CreateGuidelinesLayer::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (FindBPMLayer_vtbl *)&off_A44448; v2->m_songID = 0; v2->CreateGuidelinesLayer::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A446F8; v2->m_bpmLabel = nullptr; v2->CreateGuidelinesLayer::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A44730; v2->CreateGuidelinesLayer::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A4473C; v2->CreateGuidelinesLayer::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A4474C; v2->CreateGuidelinesLayer::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A4475C; v2->CreateGuidelinesLayer::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A44770; v2->CreateGuidelinesLayer::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A447B0; v2->CreateGuidelinesLayer::FLAlertLayerProtocol::__vftable = (FLAlertLayerProtocol_vtbl *)&off_A447C0; v2->m_startOffset = 0.0; v2->m_beats = 0; v2->m_beatsPerMinute = 0; if ( FindBPMLayer::init(v2, a1) ) { cocos2d::CCObject::autorelease(v2); } else { v3 = v2->CreateGuidelinesLayer::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4 = (int *)v2; v2 = nullptr; v3->~FindBPMLayer_0((FindBPMLayer *)v4); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source