// // HSVLiveOverlay::createHSVWidget from 0x1403c1270 to 0x1403c142e (446 bytes) // // 5 xrefs: // > HSVLiveOverlay::init @ 0x1403c0fbd // > HSVLiveOverlay::onSelectTab @ 0x1403c1264 // > @ 0x1408c1f90 // > @ 0x1408c1fa0 // > @ 0x140924068 // // This function is hookable on this platform (idp: pc, 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:31:28 +0000 // __int64 __fastcall HSVLiveOverlay::createHSVWidget(__int64 a1, unsigned int a2) { cocos2d::CCArray *v3; // rcx unsigned int v5; // edi struct cocos2d::CCObject *v6; // rbx int v7; // eax const char *v8; // rdx __int64 v9; // rcx __int64 v10; // rax __int64 v11; // rdx cocos2d::CCNode *v12; // rax __int64 *v13; // rdi __int64 v14; // rbx __int64 v15; // rax __int64 v16; // rcx __int64 v17; // rcx char v18; // al __int64 v19; // rcx __m128 v21; // [rsp+20h] [rbp-48h] BYREF __m128 v22[3]; // [rsp+30h] [rbp-38h] BYREF __int16 v23; // [rsp+70h] [rbp+8h] BYREF char v24; // [rsp+72h] [rbp+Ah] char v25; // [rsp+80h] [rbp+18h] BYREF *(_DWORD *)(a1 + 712) = a2; v3 = *(cocos2d::CCArray **)(a1 + 696); if ( v3 ) { v5 = 0; if ( cocos2d::CCArray::count(v3) ) { do { v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 696), v5); v7 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v6 + 56LL))(v6); v8 = "GJ_button_04.png"; if ( v7 == a2 ) v8 = "GJ_button_01.png"; ButtonSprite::updateBGImage((__int64)v6, v8); ++v5; } while ( v5 < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 696)) ); } } v9 = *(_QWORD *)(a1 + 720); if ( v9 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v9 + 528LL))(v9); *(_QWORD *)(a1 + 720) = 0; } v10 = cocos2d::CCDirector::sharedDirector(v9); cocos2d::CCDirector::getWinSize(v10, &v25); v21 = *ConfigureHSVWidget::getHSV(v22, *(struct cocos2d::CCObject **)(a1 + 672), *(cocos2d::CCArray **)(a1 + 680), a2); v12 = ConfigureHSVWidget::create((__int128 *)&v21, v11, 0); *(_QWORD *)(a1 + 720) = v12; (*(void (__fastcall **)(cocos2d::CCNode *, _QWORD))(*(_QWORD *)v12 + 64LL))(v12, a2); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 720)); v13 = *(__int64 **)(a1 + 720); v14 = *v13; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v23, 157.0, 163.0); (*(void (__fastcall **)(__int64 *, __int64))(v14 + 184))(v13, v15); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 720) + 160LL))(*(_QWORD *)(a1 + 720)); v16 = a1 + 664; if ( !a1 ) v16 = 0; *(_QWORD *)(*(_QWORD *)(a1 + 720) + 400LL) = v16; v17 = 731; if ( a2 != 1 ) v17 = 734; v23 = *(_WORD *)(v17 + a1); v18 = *(_BYTE *)(v17 + a1 + 2); v19 = *(_QWORD *)(a1 + 720); v24 = v18; return ConfigureHSVWidget::setBaseColor(v19, (__int64)&v23); }
GD Web Decomp Icon

GD Web Decomp

Raw Source