// // SearchSFXPopup::create from 0xa5f704 to 0xa5f8f4 (496 bytes) // // 2 xrefs: // > SFXBrowser::onSearch @ 0xa5f934 // > @ 0xb0850 // // 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 // SetTextPopup *SearchSFXPopup::create() { SetTextPopup *v0; // x19 int v1; // w22 void *v2; // x0 SetTextPopup_vtbl *v3; // x1 SetTextPopup *v4; // x0 unsigned int *v6; // x2 int v7; // w1 __int64 v8; // [xsp+50h] [xbp+50h] BYREF v0 = (SetTextPopup *)operator new(0x2A0u); cocos2d::CCLayerColor::CCLayerColor(v0); v0->m_buttonMenu = nullptr; v0->m_alertProtocol = nullptr; v0->m_scene = nullptr; v0->m_reverseKeyBack = 0; v0->m_mainLayer = nullptr; v0->m_ZOrder = 0; v0->m_noElasticity = 0; v0->m_button1 = nullptr; v0->m_button2 = nullptr; v0->m_scrollingLayer = nullptr; v0->m_controlConnected = -1; v0->m_containsBorder = 0; v0->m_noAction = 0; v0->m_joystickConnected = -1; v0->m_forcePrioRegistered = 0; v0->m_input = nullptr; v0->m_disableDelegate = 0; v0->m_cancelled = 0; v0->m_delegate = nullptr; v0->m_value.m_data.m_data = (stl::StringData::Internal *)&byte_124B6C8; v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetTextPopup_vtbl *)&off_11EB750; v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11EBC80; v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11EBCF0; v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_11EBD08; v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11EBD28; v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11EBD48; v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11EBD70; v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_11EBDF0; v0->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_11EBE10; sub_D18D28(&v8); v1 = (unsigned __int8)SearchSFXPopup::init(v0); v2 = (void *)(v8 - 24); if ( (__int64 *)(v8 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)(v8 - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *(_DWORD *)(v8 - 8); *(_DWORD *)(v8 - 8) = v7 - 1; } if ( v7 <= 0 ) operator delete(v2); } if ( v1 ) { cocos2d::CCObject::autorelease(v0); } else { v3 = v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4 = v0; v0 = nullptr; v3->~SetTextPopup_0(v4); } return v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source