// // cocos2d::extension::CCControlSaturationBrightnessPicker::updateWithHSV from 0x7a8e08 to 0x7a8eaa (162 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 cocos2d::extension::CCControlSaturationBrightnessPicker::updateWithHSV(int a1, int a2, int a3, int a4) { int v5; // r0 int (__fastcall *v6)(int, _BYTE *); // r5 _BYTE v8[4]; // [sp+14h] [bp-48h] BYREF int v9; // [sp+18h] [bp-44h] int v10; // [sp+1Ch] [bp-40h] int v11; // [sp+20h] [bp-3Ch] int v12; // [sp+24h] [bp-38h] int v13; // [sp+28h] [bp-34h] int v14; // [sp+2Ch] [bp-30h] double v15[4]; // [sp+30h] [bp-2Ch] BYREF int varg_r2; // [sp+68h] [bp+Ch] int varg_r3; // [sp+6Ch] [bp+10h] varg_r2 = a3; varg_r3 = a4; v9 = a3; v10 = a4; v11 = 0; v12 = 1072693248; v13 = 0; v14 = 1072693248; cocos2d::extension::CCControlUtils::RGBfromHSV((int)v15, 1072693248, a3, a4, 1.0, 1.0); v5 = *(_DWORD *)(a1 + 364); v6 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v5 + 480); v8[1] = (unsigned int)(v15[1] * 255.0); v8[2] = (unsigned int)(v15[2] * 255.0); v8[0] = (unsigned int)(v15[0] * 255.0); return v6(v5, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source