// // cocos2d::extension::CCControlColourPicker::colourSliderValueChanged from 0x7a81b0 to 0x7a825e (174 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 12:00:00 +0000 // int (__fastcall ***__fastcall cocos2d::extension::CCControlColourPicker::colourSliderValueChanged( cocos2d::extension::CCControlColourPicker *this, cocos2d::CCObject *a2, unsigned int a3))(_DWORD, _DWORD) { double v4; // d7 char v5; // r3 double v6; // d7 int v7; // r3 int v8; // r0 int (__fastcall ***result)(_DWORD, _DWORD); // r0 double v10[4]; // [sp+10h] [bp-20h] BYREF *((double *)this + 46) = *((float *)a2 + 89); *((double *)this + 47) = *((float *)a2 + 90); cocos2d::extension::CCControlUtils::RGBfromHSV( (int)v10, *((_DWORD *)this + 93), *((_DWORD *)this + 90), *((_DWORD *)this + 91), *((double *)this + 46), *((double *)this + 47)); v4 = v10[2] * 255.0; *((_BYTE *)this + 357) = (unsigned int)(v10[1] * 255.0); v5 = (unsigned int)v4; v6 = v10[0] * 255.0; *((_BYTE *)this + 358) = v5; v7 = *(_DWORD *)this; *((_BYTE *)this + 356) = (unsigned int)v6; (*(void (__fastcall **)(cocos2d::extension::CCControlColourPicker *, int))(v7 + 660))(this, 256); v8 = *((_DWORD *)this + 99); if ( v8 ) (*(void (__fastcall **)(int, char *))(*(_DWORD *)v8 + 480))(v8, (char *)this + 356); result = *((int (__fastcall ****)(_DWORD, _DWORD))this + 100); if ( result ) return (int (__fastcall ***)(_DWORD, _DWORD))(**result)(result, *((_DWORD *)this + 89)); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source