// // SetupMGTrigger::textChanged from 0xb4de38 to 0xb4dff0 (440 bytes) // // 3 xrefs: // > `non-virtual thunk to'SetupMGTrigger::textChanged @ 0xb4dff4 // > @ 0x45b98 // > @ 0x14bf1a8 // // 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:01:57 +0000 // __int64 __fastcall SetupMGTrigger::textChanged(SetupMGTrigger *this, CCTextInputNode *a2) { int v4; // w0 char *v5; // x0 const char *v6; // x1 float v7; // s8 cocos2d::CCString *v8; // x0 int v9; // s0 Slider *v10; // x0 float v11; // s0 char *v12; // x22 int v13; // w21 Slider *v14; // x21 float v15; // s0 __int64 v17[2]; // [xsp+50h] [xbp+50h] BYREF char *v18; // [xsp+60h] [xbp+60h] if ( !*((_BYTE *)this + 744) ) { v4 = (*(__int64 (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2); if ( v4 == 1 ) { CCTextInputNode::getString(a2, v17); if ( (v17[0] & 1) != 0 ) { v12 = v18; v13 = atoi(v18); operator delete(v12); } else { v13 = atoi((const char *)v17 + 1); } *((_DWORD *)this + 272) = (int)(float)((float)v13 * 3.0); SetupMGTrigger::updateMoveCommandPosY(this); v14 = *((Slider **)this + 135); if ( SetupMGTrigger::sliderValueFromPos(this, *((_DWORD *)this + 272)) < 1.0 ) v15 = SetupMGTrigger::sliderValueFromPos(this, *((_DWORD *)this + 272)); else v15 = 1.0; Slider::setValue(v14, v15); } else if ( v4 == 3 ) { CCTextInputNode::getString(a2, v17); v5 = (char *)v17 + 1; if ( (v17[0] & 1) != 0 ) v5 = v18; v7 = atof(v5); if ( (v17[0] & 1) != 0 ) operator delete(v18); v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v6, v7); cocos2d::CCString::floatValue(v8); *((_DWORD *)this + 258) = v9; SetupMGTrigger::updateDuration(this); v10 = *((Slider **)this + 128); v11 = *((float *)this + 258) / 10.0; if ( v11 < 1.0 ) { if ( v11 <= 0.0 ) { Slider::setValue(v10, 0.0); return _stack_chk_guard; } } else { v11 = 1.0; } Slider::setValue(v10, v11); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source