// // HSVLiveOverlay::determineStartValues from 0x1403c0ff0 to 0x1403c11e1 (497 bytes) // // 2 xrefs: // > HSVLiveOverlay::init @ 0x1403c0cc6 // > @ 0x140924044 // // 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 // char __fastcall HSVLiveOverlay::determineStartValues(__int64 a1) { __int64 v2; // rcx __int16 v3; // ax char v4; // al int v5; // edx __int64 v6; // rsi __int16 v7; // ax char v8; // al __int64 v9; // rax int v10; // edx unsigned int v11; // edi struct cocos2d::CCObject *v12; // rax struct cocos2d::CCObject *v13; // rcx __int16 v14; // ax char v15; // al int v16; // edx __int64 v17; // rax __int16 v18; // ax char v19; // al __int64 v20; // rax int v21; // edx v2 = *(_QWORD *)(a1 + 672); if ( !v2 ) { v11 = 0; LODWORD(v9) = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 680)); if ( !(_DWORD)v9 ) return v9; while ( 1 ) { v12 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 680), v11); v13 = v12; if ( !*(_BYTE *)(a1 + 728) ) break; if ( !*(_BYTE *)(a1 + 729) ) goto LABEL_33; LABEL_43: ++v11; LODWORD(v9) = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 680)); if ( v11 >= (unsigned int)v9 ) return v9; } v14 = *((_WORD *)v12 + 524); if ( v14 ) v15 = v14 == 1; else v15 = *((_BYTE *)v13 + 1300); if ( v15 || *((_QWORD *)v13 + 112) || (v16 = *(_DWORD *)(*((_QWORD *)v13 + 138) + 4LL), v16 == 1004) || (v17 = 0, !v16) ) { v17 = *((_QWORD *)v13 + 138); } *(_BYTE *)(a1 + 728) = v17 != 0; LABEL_33: if ( !*(_BYTE *)(a1 + 729) ) { v18 = *((_WORD *)v13 + 524); if ( v18 ) v19 = v18 == 1; else v19 = *((_BYTE *)v13 + 1300); if ( v19 || *((_QWORD *)v13 + 112) || (v20 = *((_QWORD *)v13 + 138), v21 = *(_DWORD *)(v20 + 4), v21 == 1004) || !v21 ) { v20 = *((_QWORD *)v13 + 139); } *(_BYTE *)(a1 + 729) = v20 != 0; } goto LABEL_43; } v3 = *(_WORD *)(v2 + 1048); if ( v3 ) v4 = v3 == 1; else v4 = *(_BYTE *)(v2 + 1300); if ( v4 || *(_QWORD *)(v2 + 896) || (v5 = *(_DWORD *)(*(_QWORD *)(v2 + 1104) + 4LL), v5 == 1004) || !v5 ) v6 = *(_QWORD *)(v2 + 1104); else v6 = 0; *(_BYTE *)(a1 + 728) = v6 != 0; v7 = *(_WORD *)(v2 + 1048); if ( v7 ) v8 = v7 == 1; else v8 = *(_BYTE *)(v2 + 1300); if ( v8 || *(_QWORD *)(v2 + 896) || (v9 = *(_QWORD *)(v2 + 1104), v10 = *(_DWORD *)(v9 + 4), v10 == 1004) || !v10 ) v9 = *(_QWORD *)(v2 + 1112); LOBYTE(v9) = v9 != 0; *(_BYTE *)(a1 + 729) = v9; return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source