// // cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos from 0x100253824 to 0x10025399c (376 bytes) // // 1 xrefs: // > @ 0x10090dcf0 // // 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 11:01:32 +0000 // bool __fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::initWithTargetAndPos( __int64 a1, __int64 a2, double *a3) { _BOOL8 v6; // x20 double v7; // d0 float v9; // [xsp+0h] [xbp-40h] BYREF __int64 v10; // [xsp+8h] [xbp-38h] BYREF v6 = cocos2d::extension::CCControl::init(a1); if ( v6 ) { (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1000LL))(a1, 1); sub_1000262F4(&v10, a3); sub_1000262BC(&v9, 0.0, 0.0); *(_QWORD *)(a1 + 480) = cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( "colourPickerBackground.png", a2, &v10, &v9); sub_1000262F4(&v10, a3); sub_1000262BC(&v9, 0.0, 0.0); *(_QWORD *)(a1 + 488) = cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( "colourPickerOverlay.png", a2, &v10, &v9); sub_1000262F4(&v10, a3); sub_1000262BC(&v9, 0.0, 0.0); *(_QWORD *)(a1 + 496) = cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( "colourPickerShadow.png", a2, &v10, &v9); sub_1000262F4(&v10, a3); sub_1000262BC(&v9, 0.5, 0.5); *(_QWORD *)(a1 + 504) = cocos2d::extension::CCControlUtils::addSpriteToTargetWithPosAndAnchor( "colourPicker.png", a2, &v10, &v9); v7 = sub_10002630C((_QWORD *)(a1 + 512), a3); *(_DWORD *)(a1 + 520) = 35; *(_DWORD *)(a1 + 524) = (int)(float)(*(float *)(*(__int64 (__fastcall **)(_QWORD, double))(**(_QWORD **)(a1 + 480) + 328LL))( *(_QWORD *)(a1 + 480), v7) * 0.5); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source