// // SetupRotateGameplayPopup::init from 0x67f9cc to 0x67ffce (1538 bytes) // // 1 xrefs: // > SetupRotateGameplayPopup::create @ 0x680066 // // 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:56:01 +0000 // GameManager *__fastcall SetupRotateGameplayPopup::init( SetupRotateGameplayPopup *this, RotateGameplayGameObject *a2, cocos2d::CCArray *a3) { GameManager *v4; // r11 cocos2d::CCDirector *v5; // r0 void (__fastcall *v6)(SetupRotateGameplayPopup *, int, bool); // r7 float v7; // s15 void (__fastcall *v8)(SetupRotateGameplayPopup *, int, bool); // r7 float v9; // s15 float v11; // [sp+3Ch] [bp-50h] BYREF float v12; // [sp+40h] [bp-4Ch] _BYTE v13[4]; // [sp+44h] [bp-48h] BYREF float v14; // [sp+48h] [bp-44h] _BYTE v15[8]; // [sp+4Ch] [bp-40h] BYREF _BYTE v16[8]; // [sp+54h] [bp-38h] BYREF _BYTE v17[8]; // [sp+5Ch] [bp-30h] BYREF _BYTE v18[8]; // [sp+64h] [bp-28h] BYREF int v19[3]; // [sp+6Ch] [bp-20h] BYREF int v20; // [sp+78h] [bp-14h] BYREF int v21; // [sp+7Ch] [bp-10h] int v22; // [sp+80h] [bp-Ch] v4 = SetupTriggerPopup::init(this, a2, a3, 380.0, 280.0, (_BYTE *)&dword_0 + 1, 0.0); if ( v4 ) { SetupTriggerPopup::preSetup(this); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Rotate Gameplay", 0xFu); SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v20); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "OK", 2u); SetupTriggerPopup::addCloseButton((int)this, (int)&v20); std::string::~string((int)&v20); memset(v19, 0, sizeof(v19)); std::string::__init(v19, "Help", 4u); v20 = 0; v21 = 0; v22 = 0; std::string::__init( &v20, "VelMod modifies the velocity after switching rotation.\n" "Override Velocity sets the velocity instead of multiplying.\n" "Change Channel allows you to specify which channel to switch to after rotating. Triggers in a given channe" "l will only be activated when the player is in that channel. You can use Channel Only to exclude gameplay " "rotation.\n" "The Rotate Gameplay trigger direction determines how the channel's triggers are sorted. Upwards means smal" "ler Y values are triggered first, right means smaller X values are triggered first, and so on.\n" "Instant Offset makes the camera update instantly when switching gameplay to the opposite direction.", 0x2ADu); SetupTriggerPopup::addHelpButton((int)this, (int)v19, (int)&v20, 1063675494); std::string::~string((int)&v20); v5 = (cocos2d::CCDirector *)std::string::~string((int)v19); cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, (float)(v11 * 0.5) - 25.0, (float)(v12 * 0.5) + 85.0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, v11 * 0.5, v14); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Edit\nVelocity", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -60.0, 0.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createToggleValueControl((int)this, 169, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 1.0); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Override\nVelocity", 0x11u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 60.0, 0.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createToggleValueControl( (int)this, 584, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 169, 1.0); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "VelModX:", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -80.0, -42.0); cocos2d::CCPoint::operator+(v18, v15, v17); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 582, (unsigned __int8 *)&v20, (int)v18, 1060320051, 0, 1, 6, 0, -1082130432, 1065353216, 0, 169, 1, 2, 0); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Y:", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 80.0, -42.0); cocos2d::CCPoint::operator+(v18, v15, v17); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 583, (unsigned __int8 *)&v20, (int)v18, 1060320051, 0, 1, 6, 0, -1082130432, COERCE_INT(1.0), 0, 169, 1, 2, 0); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Change\nChannel", 0xEu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -60.0, -84.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createToggleValueControl((int)this, 171, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 1.0); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Channel\nOnly", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 60.0, -84.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createToggleValueControl( (int)this, 172, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 171, 1.0); std::string::~string((int)&v20); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, 0.0, -146.0); cocos2d::CCPoint::operator+(v16, v15, v18); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Target Channel:", 0xFu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, (const cocos2d::CCPoint *)v16); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, 173, (unsigned __int8 *)&v20, (int)v18, 1061997773, 1, 3, 6, 1, 0, 1176255488, 0, 171, 0, 2, 0); std::string::~string((int)&v20); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 75.0, 0.0); cocos2d::CCPoint::operator+(v18, v16, v17); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, &unk_B6B226, 0); SetupTriggerPopup::createPlusButton((cocos2d::CCArray **)this, 173, (int)v18, 1061997773, &v20, 0, 171); std::string::~string((int)&v20); v6 = *(void (__fastcall **)(SetupRotateGameplayPopup *, int, bool))(*(_DWORD *)this + 676); v7 = COERCE_FLOAT((*(int (__fastcall **)(SetupRotateGameplayPopup *, int))(*(_DWORD *)this + 732))(this, 171)); v6(this, 171, v7 != 0.0); v8 = *(void (__fastcall **)(SetupRotateGameplayPopup *, int, bool))(*(_DWORD *)this + 676); v9 = COERCE_FLOAT((*(int (__fastcall **)(SetupRotateGameplayPopup *, int))(*(_DWORD *)this + 732))(this, 169)); v8(this, 169, v9 != 0.0); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Instant\nOffset", 0xEu); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v18, (float)((float)(*((float *)this + 139) * 0.5) + (float)(v11 * 0.5)) - 72.0, (float)((float)(v12 * 0.5) - (float)(*((float *)this + 140) * 0.5)) + 50.0); SetupTriggerPopup::createToggleValueControl((int)this, 368, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 1.0); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Dont\nSlide", 0xAu); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v18, (float)((float)(*((float *)this + 139) * 0.5) + (float)(v11 * 0.5)) - 72.0, (float)((float)((float)(v12 * 0.5) - (float)(*((float *)this + 140) * 0.5)) + 50.0) + 30.0); SetupTriggerPopup::createToggleValueControl((int)this, 585, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 1.0); std::string::~string((int)&v20); SetupTriggerPopup::createMultiTriggerItemsDefault(this); SetupTriggerPopup::postSetup(this); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source