// // SetupOpacityPopup::sliderChanged from 0x5e96f4 to 0x5e97b8 (196 bytes) // // 0 xrefs: // // 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:21 +0000 // int __fastcall SetupOpacityPopup::sliderChanged(SetupOpacityPopup *this, cocos2d::CCObject *a2) { float v4; // s16 const char *v5; // r1 cocos2d::CCString *v6; // r0 float v7; // r0 int v8; // r3 const char *v9; // r1 int result; // r0 const char *v11; // r1 cocos2d::CCString *v12; // r0 v4 = COERCE_FLOAT(SliderThumb::getValue(a2)); if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2) == 2 ) { v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v5, v4); v7 = COERCE_FLOAT(cocos2d::CCString::floatValue(v6)); if ( v7 > 0.02 ) { if ( v7 < 0.98 ) { *((float *)this + 183) = v7; LABEL_8: SetupOpacityPopup::updateOpacity(this); return SetupOpacityPopup::updateOpacityLabel(this, v9); } v8 = 1065353216; } else { v8 = 0; } *((_DWORD *)this + 183) = v8; goto LABEL_8; } result = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); if ( result == 1 ) { v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%.02f", v11, (float)(v4 * 10.0)); *((_DWORD *)this + 184) = cocos2d::CCString::floatValue(v12); SetupOpacityPopup::updateDuration(this); return SetupOpacityPopup::updateDurLabel(this, (_BYTE *)&dword_0 + 1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source