// // ConfigureValuePopup::textChanged from 0xa66c50 to 0xa66dd0 (384 bytes) // // 3 xrefs: // > `non-virtual thunk to'ConfigureValuePopup::textChanged @ 0xa66dd4 // > @ 0x102a48 // > @ 0x1491078 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:00:17 +0000 // __int64 __fastcall ConfigureValuePopup::textChanged(ConfigureValuePopup *this, CCTextInputNode *a2) { int v3; // w0 char *v4; // x0 const char *v5; // x1 float v6; // s8 cocos2d::CCString *v7; // x0 float v8; // s0 Slider *v9; // x0 float v10; // s0 char *v12; // x21 float v13; // s1 float v14; // s2 float v15; // s3 __int64 v16[2]; // [xsp+30h] [xbp+30h] BYREF char *v17; // [xsp+40h] [xbp+40h] if ( !*((_BYTE *)this + 677) ) { v3 = *((_DWORD *)this + 165); *((_BYTE *)this + 676) = 1; if ( v3 == 1 ) { CCTextInputNode::getString(a2, v16); if ( (v16[0] & 1) != 0 ) { v12 = v17; *((float *)this + 166) = (float)atoi(v17); operator delete(v12); v13 = *((float *)this + 166); } else { v13 = (float)atoi((const char *)v16 + 1); } v14 = *((float *)this + 167); v8 = *((float *)this + 168); v15 = v13; if ( v14 >= v13 ) v15 = *((float *)this + 167); if ( v8 > v15 ) { v8 = v13; if ( v14 >= v13 ) v8 = *((float *)this + 167); } } else { CCTextInputNode::getString(a2, v16); v4 = (char *)v16 + 1; if ( (v16[0] & 1) != 0 ) v4 = v17; v6 = atof(v4); if ( (v16[0] & 1) != 0 ) operator delete(v17); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v5, v6); cocos2d::CCString::floatValue(v7); } v9 = *((Slider **)this + 87); *((float *)this + 166) = v8; if ( v9 ) { v10 = (float)(*((float *)this + 166) - *((float *)this + 167)) / (float)(*((float *)this + 168) - *((float *)this + 167)); if ( v10 < 1.0 ) { if ( v10 <= 0.0 ) { Slider::setValue(v9, 0.0); return _stack_chk_guard; } } else { v10 = 1.0; } Slider::setValue(v9, v10); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source