// // ConfigureValuePopup::textChanged from 0x6028b0 to 0x6029e6 (310 bytes) // // 1 xrefs: // > `non-virtual thunk to'ConfigureValuePopup::textChanged @ 0x6029f8 // // 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:54:42 +0000 // int __fastcall ConfigureValuePopup::textChanged(int this, CCTextInputNode *a2) { int v2; // r4 char *v3; // r0 float v4; // s15 float v5; // s14 float v6; // s13 float v7; // s12 char *v8; // r0 double v9; // d8 const char *v10; // r1 cocos2d::CCString *v11; // r0 float v12; // s15 char v13; // [sp+0h] [bp-10h] BYREF _BYTE v14[7]; // [sp+1h] [bp-Fh] BYREF char *v15; // [sp+8h] [bp-8h] v2 = this; if ( !*(_BYTE *)(this + 537) ) { *(_BYTE *)(this + 536) = 1; if ( *(_DWORD *)(this + 520) == 1 ) { CCTextInputNode::getString((CCTextInputNode *)&v13, (int)a2); if ( (v13 & 1) != 0 ) v3 = v15; else v3 = v14; *(float *)(v2 + 524) = (float)atoi(v3); std::string::~string((int)&v13); v4 = *(float *)(v2 + 528); v5 = *(float *)(v2 + 524); v6 = *(float *)(v2 + 532); if ( v4 < v5 ) v7 = *(float *)(v2 + 524); else v7 = *(float *)(v2 + 528); if ( v6 > v7 ) { if ( v4 < v5 ) v6 = *(float *)(v2 + 524); else v6 = *(float *)(v2 + 528); } *(float *)(v2 + 524) = v6; } else { CCTextInputNode::getString((CCTextInputNode *)&v13, (int)a2); if ( (v13 & 1) != 0 ) v8 = v15; else v8 = v14; v9 = atof(v8); std::string::~string((int)&v13); *(float *)&v9 = v9; v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v10, *(float *)&v9); *(_DWORD *)(v2 + 524) = cocos2d::CCString::floatValue(v11); } this = *(_DWORD *)(v2 + 548); if ( this ) { v12 = (float)(*(float *)(v2 + 524) - *(float *)(v2 + 528)) / (float)(*(float *)(v2 + 532) - *(float *)(v2 + 528)); if ( v12 >= 1.0 ) { v12 = 1.0; } else if ( v12 <= 0.0 ) { v12 = 0.0; } return Slider::setValue((Slider *)this, v12); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source