// // SetupCameraRotatePopup::textChanged from 0x659b8c to 0x659cb4 (296 bytes) // // 1 xrefs: // > `non-virtual thunk to'SetupCameraRotatePopup::textChanged @ 0x659ccc // // 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 SetupCameraRotatePopup::textChanged(int this, CCTextInputNode *a2) { float *v2; // r4 char *v4; // r0 double v5; // d8 const char *v6; // r1 cocos2d::CCString *v7; // r0 Slider *v8; // r0 float v9; // s15 char *v10; // r0 double v11; // d8 const char *v12; // r1 cocos2d::CCString *v13; // r0 char v14; // [sp+0h] [bp-14h] BYREF _BYTE v15[7]; // [sp+1h] [bp-13h] BYREF char *v16; // [sp+8h] [bp-Ch] v2 = (float *)this; if ( !*(_BYTE *)(this + 568) ) { this = (*(int (__fastcall **)(CCTextInputNode *))(*(_DWORD *)a2 + 32))(a2); if ( this ) { if ( this != 2 ) return this; CCTextInputNode::getString((CCTextInputNode *)&v14, (int)a2); if ( (v14 & 1) != 0 ) v4 = v16; else v4 = v15; v5 = atof(v4); std::string::~string((int)&v14); *(float *)&v5 = v5; v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v6, *(float *)&v5); *((_DWORD *)v2 + 180) = cocos2d::CCString::floatValue(v7); SetupCameraRotatePopup::updateDuration((unsigned int)v2); v8 = *((Slider **)v2 + 179); v9 = v2[180] / 10.0; } else { CCTextInputNode::getString((CCTextInputNode *)&v14, (int)a2); if ( (v14 & 1) != 0 ) v10 = v16; else v10 = v15; v11 = atof(v10); std::string::~string((int)&v14); *(float *)&v11 = v11; v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v12, *(float *)&v11); *((_DWORD *)v2 + 188) = cocos2d::CCString::floatValue(v13); SetupCameraRotatePopup::updateCommandDegrees((unsigned int)v2); v8 = *((Slider **)v2 + 187); v9 = (float)(v2[188] / 720.0) + 0.5; } if ( v9 >= 1.0 ) { v9 = 1.0; } else if ( v9 <= 0.0 ) { v9 = 0.0; } return Slider::setValue(v8, v9); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source