// // HSVLiveOverlay::createHSVWidget from 0x69c31c to 0x69c442 (294 bytes) // // 2 xrefs: // > HSVLiveOverlay::init @ 0x69c718 // > HSVLiveOverlay::onSelectTab @ 0x69c928 // // 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 11:56:19 +0000 // int __fastcall HSVLiveOverlay::createHSVWidget(HSVLiveOverlay *this, int a2) { int v3; // r2 cocos2d::CCDirector *v5; // r0 unsigned int v6; // r6 char *v7; // r0 char *v8; // r8 const char *v9; // r1 int v10; // r0 int v11; // r8 void (__fastcall *v12)(int, _BYTE *); // r9 int v13; // r0 unsigned __int8 *v14; // r4 _BYTE v16[8]; // [sp+Ch] [bp-24h] BYREF _BYTE v17[8]; // [sp+14h] [bp-1Ch] BYREF int v18[5]; // [sp+1Ch] [bp-14h] BYREF v3 = _stack_chk_guard; *((_DWORD *)this + 136) = a2; v18[4] = v3; if ( *((_DWORD *)this + 134) ) { v6 = 0; while ( v6 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 134)) ) { v7 = (char *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 134), v6++); v8 = v7; if ( (*(int (__fastcall **)(char *))(*(_DWORD *)v7 + 32))(v7) == a2 ) v9 = "GJ_button_01.png"; else v9 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v8, v9); } } v5 = *((cocos2d::CCDirector **)this + 137); if ( v5 ) { v5 = (cocos2d::CCDirector *)(*(int (__fastcall **)(cocos2d::CCDirector *))(*(_DWORD *)v5 + 268))(v5); *((_DWORD *)this + 137) = 0; } cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v16); ConfigureHSVWidget::getHSV( (ConfigureHSVWidget *)v18, *((GameObject **)this + 131), *((cocos2d::CCArray **)this + 132), a2); v10 = ConfigureHSVWidget::create(v18[0], v18[1], (const char *)v18[2], v18[3], 0, 0); *((_DWORD *)this + 137) = v10; (*(void (__fastcall **)(int, int))(*(_DWORD *)v10 + 36))(v10, a2); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 115) + 228))( *((_DWORD *)this + 115), *((_DWORD *)this + 137)); v11 = *((_DWORD *)this + 137); v12 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v11 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 157.0, 163.0); v12(v11, v17); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 137) + 80))(*((_DWORD *)this + 137), 1058642330); *(_DWORD *)(*((_DWORD *)this + 137) + 312) = (char *)this + 520; v13 = *((_DWORD *)this + 137); if ( a2 == 1 ) v14 = (unsigned __int8 *)this + 555; else v14 = (unsigned __int8 *)this + 558; return ConfigureHSVWidget::setBaseColor(v13, *v14 | (v14[1] << 8) | (v14[2] << 16)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source