// // SetupOpacityPopup::sliderChanged from 0xa40f70 to 0xa4108c (284 bytes) // // 4 xrefs: // > @ 0xd8118 // > SetupOpacityPopup::init @ 0xa41870 // > SetupOpacityPopup::init @ 0xa4199c // > @ 0x1546750 // // 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 12:59:56 +0000 // __int64 __fastcall SetupOpacityPopup::sliderChanged(SetupOpacityPopup *this, cocos2d::CCObject *a2) { float Value; // s8 const char *v5; // x1 __int64 result; // x0 const char *v7; // x1 cocos2d::CCString *v8; // x0 float v9; // s0 cocos2d::CCString *v10; // x0 int v11; // s0 Value = SliderThumb::getValue(a2); if ( (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) == 2 ) { v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v5, Value); cocos2d::CCString::floatValue(v8); if ( v9 > 0.02 ) { if ( v9 >= 0.98 ) v9 = 1.0; *((float *)this + 264) = v9; SetupOpacityPopup::updateOpacity(this); return SetupOpacityPopup::updateOpacityLabel(this); } else { *((_DWORD *)this + 264) = 0; SetupOpacityPopup::updateOpacity(this); return SetupOpacityPopup::updateOpacityLabel(this); } } else { result = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)result == 1 ) { v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%.02f", v7, (float)(Value * 10.0)); cocos2d::CCString::floatValue(v10); *((_DWORD *)this + 265) = v11; SetupOpacityPopup::updateDuration(this); return SetupOpacityPopup::updateDurLabel(this, 1u); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source