// // HSVLiveOverlay::createHSVWidget from 0x100254fa0 to 0x10025513a (410 bytes) // // 2 xrefs: // > HSVLiveOverlay::init @ 0x100254e05 // > HSVLiveOverlay::onSelectTab @ 0x100254f8c // // 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 12:27:25 +0000 // __int64 __fastcall HSVLiveOverlay::createHSVWidget(__int64 a1, const char *a2) { unsigned int v2; // r14d __int64 v4; // rdi unsigned int v5; // r15d __int64 v6; // r12 __int64 v7; // rdi __int64 v8; // rax __int64 HSV; // rax __int64 v10; // rax __int64 v11; // r15 __int64 v12; // rdi _BYTE v14[8]; // [rsp+8h] [rbp-38h] BYREF _BYTE v15[48]; // [rsp+10h] [rbp-30h] BYREF v2 = (unsigned int)a2; *(_DWORD *)(a1 + 712) = (_DWORD)a2; v4 = *(_QWORD *)(a1 + 696); if ( v4 && (unsigned int)sub_1007FEF90(v4) ) { v5 = 0; do { v6 = sub_1007FEFE0(*(_QWORD *)(a1 + 696), v5); a2 = "GJ_button_04.png"; if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6) == v2 ) a2 = "GJ_button_01.png"; ButtonSprite::updateBGImage(v6, (__int64)a2); ++v5; } while ( v5 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 696)) ); } v7 = *(_QWORD *)(a1 + 720); if ( v7 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 536LL))(v7); *(_QWORD *)(a1 + 720) = 0; } v8 = cocos2d::CCDirector::sharedDirector(v7, a2); cocos2d::CCDirector::getWinSize(v14, v8); HSV = ConfigureHSVWidget::getHSV(*(_QWORD *)(a1 + 672), *(_QWORD *)(a1 + 680), v2); v10 = ConfigureHSVWidget::create(HSV, 0, 0); *(_QWORD *)(a1 + 720) = v10; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 72LL))(v10, v2); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 584) + 456LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 720)); v11 = *(_QWORD *)(a1 + 720); sub_100278250(v15, 157.0, 163.0); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v11 + 184LL))(v11, v15); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 720) + 160LL))(*(_QWORD *)(a1 + 720), 0.60000002); v12 = *(_QWORD *)(a1 + 720); *(_QWORD *)(v12 + 400) = a1 + 664; return sub_10041CCF0( v12, *(unsigned __int16 *)(a1 + 3LL * (v2 != 1) + 731) | (*(unsigned __int8 *)(a1 + 3LL * (v2 != 1) + 733) << 16)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source