// // CustomizeObjectSettingsPopup::init from 0x57ee98 to 0x57f0d4 (572 bytes) // // 1 xrefs: // > CustomizeObjectSettingsPopup::create @ 0x57f258 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:52:51 +0000 // int __fastcall CustomizeObjectSettingsPopup::init( CustomizeObjectSettingsPopup *this, GameObject *a2, cocos2d::CCArray *a3, CustomizeObjectLayer *a4) { int v6; // r11 cocos2d::CCDirector *v7; // r0 float v9[2]; // [sp+24h] [bp-40h] BYREF _BYTE v10[8]; // [sp+2Ch] [bp-38h] BYREF _BYTE v11[8]; // [sp+34h] [bp-30h] BYREF _BYTE v12[8]; // [sp+3Ch] [bp-28h] BYREF int v13[3]; // [sp+44h] [bp-20h] BYREF int v14; // [sp+50h] [bp-14h] BYREF int v15; // [sp+54h] [bp-10h] int v16; // [sp+58h] [bp-Ch] v6 = SetupTriggerPopup::init(this, a2, a3, 320.0, 200.0, 1, 0.0); if ( v6 ) { *((_DWORD *)this + 178) = a4; SetupTriggerPopup::preSetup(this); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Settings", 8u); SetupTriggerPopup::addTitle(this, &v14); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "OK", 2u); SetupTriggerPopup::addCloseButton(this, &v14); std::string::~string((int)&v14); memset(v13, 0, sizeof(v13)); std::string::__init(v13, "Help", 4u); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Change if a single color object is treated as base or detail color.", 0x43u); SetupTriggerPopup::addHelpButton(this, v13, &v14, 1065353216); std::string::~string((int)&v14); v7 = (cocos2d::CCDirector *)std::string::~string((int)v13); cocos2d::CCDirector::sharedDirector(v7); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v9); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, v9[0] * 0.5, (float)(v9[1] * 0.5) + 10.0); (*(void (__fastcall **)(CustomizeObjectSettingsPopup *, int))(*(_DWORD *)this + 732))(this, 497); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Default", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -100.0, 0.0); cocos2d::CCPoint::operator+(v12, v10, v11); SetupTriggerPopup::createCustomToggleValueControl(this); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Base", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 0.0, 0.0); cocos2d::CCPoint::operator+(v12, v10, v11); SetupTriggerPopup::createCustomToggleValueControl(this); std::string::~string((int)&v14); v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Detail", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 100.0, 0.0); cocos2d::CCPoint::operator+(v12, v10, v11); SetupTriggerPopup::createCustomToggleValueControl(this); std::string::~string((int)&v14); SetupTriggerPopup::postSetup(this); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source