// // ConfigureHSVWidget::setBaseColor from 0xa3a738 to 0xa3a950 (536 bytes) // // 3 xrefs: // > HSVWidgetPopup::init @ 0xa3c00c // > HSVLiveOverlay::createHSVWidget @ 0xb50904 // > @ 0x6f0a0 // // 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 12:59:53 +0000 // __int64 __fastcall ConfigureHSVWidget::setBaseColor(__int64 a1, int a2) { unsigned __int8 *v3; // x22 __int64 v4; // x0 unsigned __int64 v5; // x0 __int64 v6; // x2 __int64 v8; // x0 float v9; // s8 float v10; // s8 __int64 v11; // x25 void (__fastcall *v12)(__int64, __int64 *); // x26 const char *v13; // x1 __int64 v14; // x0 __int64 v15; // x24 void (__fastcall *v16)(__int64, __int64 *); // x25 __int64 v17; // x26 _BYTE v18[8]; // [xsp+78h] [xbp+78h] BYREF __int64 v19; // [xsp+80h] [xbp+80h] BYREF v3 = (unsigned __int8 *)(a1 + 424); *(_WORD *)(a1 + 424) = a2; *(_BYTE *)(a1 + 426) = BYTE2(a2); v4 = *(_QWORD *)(a1 + 440); *(_BYTE *)(a1 + 448) = (unsigned __int8)&dword_0 + 1; if ( !v4 ) { v8 = cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"whiteSquare60_001.png", (const char *)&dword_0 + 1); *(_QWORD *)(a1 + 440) = v8; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 160LL))(v8, 0.7); v9 = *(float *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 328LL))(*(_QWORD *)(a1 + 440)) + 4); v10 = v9 * (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 168LL))(*(_QWORD *)(a1 + 440)); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, *(_QWORD *)(a1 + 440)); v11 = *(_QWORD *)(a1 + 440); v12 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v11 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v19, 155.0, (float)((float)(v10 * 1.5) + -80.0) + 4.0); v12(v11, &v19); v14 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"whiteSquare60_001.png", v13); *(_QWORD *)(a1 + 432) = v14; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v14 + 160LL))(v14, 0.7); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, *(_QWORD *)(a1 + 432)); v15 = *(_QWORD *)(a1 + 432); v16 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v15 + 184LL); v17 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 440) + 192LL))(*(_QWORD *)(a1 + 440)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, 0.0, -v10); cocos2d::CCPoint::operator+(&v19, v17); v16(v15, &v19); } v5 = GameToolbox::transformColor(v3, *(_QWORD *)(a1 + 376), *(_QWORD *)(a1 + 384)); v6 = *(_QWORD *)(a1 + 432); LOWORD(v19) = v5; BYTE2(v19) = BYTE2(v5); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v6 + 960LL))(v6, &v19); (*(void (__fastcall **)(_QWORD, __int64 *))(**(_QWORD **)(a1 + 440) + 960LL))(*(_QWORD *)(a1 + 440), &v19); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source