// // SetupObjectOptions2Popup::init from 0xabe1d8 to 0xabe5d4 (1020 bytes) // // 2 xrefs: // > SetupObjectOptions2Popup::create @ 0xabe804 // > @ 0x83d70 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:01:03 +0000 // __int64 __fastcall SetupObjectOptions2Popup::init(SetupObjectOptions2Popup *this, GameObject *a2, cocos2d::CCArray *a3) { unsigned __int8 v4; // w0 unsigned int v5; // w22 cocos2d::CCDirector *v7; // x0 cocos2d::CCDirector *v8; // x0 int v9; // [xsp+8h] [xbp-28h] __int64 v10; // [xsp+98h] [xbp+68h] BYREF _BYTE v11[8]; // [xsp+A0h] [xbp+70h] BYREF _BYTE v12[8]; // [xsp+A8h] [xbp+78h] BYREF __int64 v13; // [xsp+B0h] [xbp+80h] BYREF cocos2d::CCDirector *v14[2]; // [xsp+B8h] [xbp+88h] BYREF void *v15; // [xsp+C8h] [xbp+98h] __int64 v16; // [xsp+D0h] [xbp+A0h] BYREF __int64 v17; // [xsp+D8h] [xbp+A8h] void *v18; // [xsp+E0h] [xbp+B0h] v4 = SetupTriggerPopup::init(this, a2, a3, 320.0, 200.0, 1, 0.0); v5 = v4; if ( v4 ) { SetupTriggerPopup::preSetup(this); v16 = 0; *((_BYTE *)this + 744) = 1; v17 = 0; v18 = nullptr; std::string::__init(&v16, "Config 2", 8u); SetupTriggerPopup::addTitle(this, &v16); if ( (v16 & 1) != 0 ) operator delete(v18); v16 = 0; v17 = 0; v18 = nullptr; std::string::__init(&v16, "OK", 2u); SetupTriggerPopup::addCloseButton(this, &v16); if ( (v16 & 1) != 0 ) operator delete(v18); v14[0] = nullptr; v14[1] = nullptr; v15 = nullptr; std::string::__init((__int64 *)v14, "Help", 4u); v16 = 0; v17 = 0; v18 = nullptr; std::string::__init( &v16, "Enter Channel is used to set a specific enter effect.\n" "Material is used to link with specific events.\n" "ControlID allows you to reference specific objects when using remapping.", 0xC5u); SetupTriggerPopup::addHelpButton(this, v14, &v16, 1.0); if ( (v16 & 1) != 0 ) operator delete(v18); v7 = (cocos2d::CCDirector *)LOBYTE(v14[0]); if ( ((__int64)v14[0] & 1) != 0 ) operator delete(v15); v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7); cocos2d::CCDirector::getWinSize(&v10, v8); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, *(float *)&v10 * 0.5, (float)(*((float *)&v10 + 1) * 0.5) + 30.0); v16 = 0; v17 = 0; v18 = nullptr; std::string::__init(&v16, "Enter Channel:", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, -80.0, 0.0); cocos2d::CCPoint::operator+(&v13, v11); IDNameInput::create(this, (char *)this + 544, 8, 343, &v16, &v13, 6, 0, 0.7, 0, 0); if ( (v16 & 1) != 0 ) operator delete(v18); v16 = 0; v17 = 0; v18 = nullptr; std::string::__init(&v16, "Material:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, 80.0, 0.0); cocos2d::CCPoint::operator+(&v13, v11); SetupTriggerPopup::createValueControlAdvanced(this, 446, &v16, &v13, 1, 3, 6, 1, 0.7, 0.0, 0.0, 0, 0, 0, 2, 0); if ( (v16 & 1) != 0 ) operator delete(v18); if ( *((_BYTE *)this + 905) ) { v16 = 0; v17 = 0; v18 = nullptr; std::string::__init(&v16, "ControlID:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, 80.0, -55.0); cocos2d::CCPoint::operator+(&v13, v11); LOBYTE(v9) = 0; IDNameInput::create(this, (char *)this + 544, 6, 534, &v16, &v13, 6, 0, 0.7, 0, v9); if ( (v16 & 1) != 0 ) operator delete(v18); } SetupTriggerPopup::postSetup(this); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source