// // cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos from 0x7a8ee4 to 0x7a8ff2 (270 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::initWithTargetAndPos( cocos2d::extension::CCControl *a1, int a2, const cocos2d::CCPoint *a3) { int v6; // r10 int v7; // r0 _BYTE v9[8]; // [sp+4h] [bp-14h] BYREF _BYTE v10[8]; // [sp+Ch] [bp-Ch] BYREF v6 = cocos2d::extension::CCControl::init(a1); if ( v6 ) { (*(void (__fastcall **)(cocos2d::extension::CCControl *, int))(*(_DWORD *)a1 + 500))(a1, 1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, a3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, 0.0); *((_DWORD *)a1 + 91) = cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( "colourPickerBackground.png", a2, v9, v10); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, a3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, 0.0); *((_DWORD *)a1 + 92) = cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( "colourPickerOverlay.png", a2, v9, v10); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, a3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, 0.0); *((_DWORD *)a1 + 93) = cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( "colourPickerShadow.png", a2, v9, v10); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, a3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.5, 0.5); *((_DWORD *)a1 + 94) = cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( "colourPicker.png", a2, v9, v10); cocos2d::CCPoint::operator=((char *)a1 + 380, a3); v7 = *((_DWORD *)a1 + 91); *((_DWORD *)a1 + 97) = 35; *((_DWORD *)a1 + 98) = (int)(float)(*(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v7 + 164))(v7) * 0.5); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source