// // SetupCameraRotatePopup2::init from 0x659f60 to 0x65a23c (732 bytes) // // 1 xrefs: // > SetupCameraRotatePopup2::create @ 0x65a30a // // 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:55:32 +0000 // int __fastcall SetupCameraRotatePopup2::init(SetupCameraRotatePopup2 *this, EffectGameObject *a2, cocos2d::CCArray *a3) { int v4; // r11 cocos2d::CCDirector *MultiTriggerItemsDefault; // r0 float v7[2]; // [sp+34h] [bp-40h] BYREF _BYTE v8[8]; // [sp+3Ch] [bp-38h] BYREF _BYTE v9[8]; // [sp+44h] [bp-30h] BYREF _BYTE v10[8]; // [sp+4Ch] [bp-28h] BYREF int v11[3]; // [sp+54h] [bp-20h] BYREF int v12; // [sp+60h] [bp-14h] BYREF int v13; // [sp+64h] [bp-10h] int v14; // [sp+68h] [bp-Ch] v4 = SetupTriggerPopup::init(this, a2, a3, 400.0, 260.0, 1, 0.0); if ( v4 ) { SetupTriggerPopup::preSetup(this); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "Setup Camera Rotation", 0x15u); SetupTriggerPopup::addTitle(this, &v12); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "OK", 2u); SetupTriggerPopup::addCloseButton(this, &v12); std::string::~string((int)&v12); memset(v11, 0, sizeof(v11)); std::string::__init(v11, "Help", 4u); v12 = 0; v13 = 0; v14 = 0; std::string::__init( &v12, "Rotates the camera to the target value.\n" "Move Time is how fast the rotate happens.\n" "Easing changes the method used.\n" "Add the rotation to the current camera rotation.\n" "Snap360 converts rotation to closest 360.", 0xF4u); SetupTriggerPopup::addHelpButton(this, v11, &v12, 1065353216); std::string::~string((int)&v12); std::string::~string((int)v11); MultiTriggerItemsDefault = (cocos2d::CCDirector *)SetupTriggerPopup::createMultiTriggerItemsDefault(this); cocos2d::CCDirector::sharedDirector(MultiTriggerItemsDefault); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v7); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v7[0] * 0.5, v7[1] * 0.5); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "Degrees:", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -100.0, 60.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createValueControlAdvanced( this, 68, &v12, v10, 1061997773, 0, 1, 10, 0, -1011613696, 1135869952, 0, 0, 0, 2, 0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "Add", 3u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 60.0, 70.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createToggleValueControl((int)this, 70, (int)&v12, (int)v10, 0, 0, 0, 1.0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "Snap360", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 60.0, 30.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createToggleValueControl((int)this, 394, (int)&v12, (int)v10, 0, 0, 0, 1.0); std::string::~string((int)&v12); v12 = 0; v13 = 0; v14 = 0; std::string::__init(&v12, "Move Time:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -100.0, -10.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createValueControlAdvanced( this, 10, &v12, v10, 1061997773, 0, 1, 10, 0, 0, 1092616192, 0, 0, 0, 2, 0); std::string::~string((int)&v12); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 95.0, -10.0); cocos2d::CCPoint::operator+(v10, v8, v9); SetupTriggerPopup::createEasingControls(this, v10, 1061997773, 0, 0); SetupTriggerPopup::postSetup(this); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source