// // LevelSettingsLayer::updateColorSprites from 0x100257b80 to 0x100257eeb (875 bytes) // // 3 xrefs: // > LevelSettingsLayer::init @ 0x100256254 // > LevelSettingsLayer::colorSelectClosed @ 0x100258fc5 // > sub_100258FD0 @ 0x100258fdc // // 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:27 +0000 // __int64 __fastcall LevelSettingsLayer::updateColorSprites(_QWORD *a1, double a2) { __int64 v2; // r14 __int64 v3; // r15 __int64 ColorAction; // rsi __int64 result; // rax __int64 v6; // r14 __int64 v7; // r15 __int64 v8; // rsi __int64 v9; // r14 __int64 v10; // r15 __int64 v11; // rsi __int64 v12; // r14 __int64 v13; // r15 __int64 v14; // rsi __int64 v15; // r14 __int64 v16; // r15 __int64 v17; // rsi __int64 v18; // r14 __int64 v19; // r15 __int64 v20; // rax if ( a1[107] ) { v2 = a1[90]; v3 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v2 + 64LL))(v2); if ( (unsigned __int8)GJEffectManager::colorExists(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), v3) ) { ColorAction = GJEffectManager::getColorAction( *(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), (unsigned int)v3); result = ColorChannelSprite::updateValues(v2, ColorAction, a2); if ( !a1[107] ) return result; } else { result = (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 960LL))(v2, &unk_100A06A06); if ( !a1[107] ) return result; } v6 = a1[91]; v7 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6); if ( (unsigned __int8)GJEffectManager::colorExists(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), v7) ) { v8 = GJEffectManager::getColorAction(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), (unsigned int)v7); result = ColorChannelSprite::updateValues(v6, v8, a2); if ( !a1[107] ) return result; } else { result = (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v6 + 960LL))(v6, &unk_100A06A06); if ( !a1[107] ) return result; } v9 = a1[92]; v10 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v9 + 64LL))(v9); if ( (unsigned __int8)GJEffectManager::colorExists(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), v10) ) { v11 = GJEffectManager::getColorAction(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), (unsigned int)v10); result = ColorChannelSprite::updateValues(v9, v11, a2); if ( !a1[107] ) return result; } else { result = (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v9 + 960LL))(v9, &unk_100A06A06); if ( !a1[107] ) return result; } v12 = a1[93]; v13 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v12 + 64LL))(v12); if ( (unsigned __int8)GJEffectManager::colorExists(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), v13) ) { v14 = GJEffectManager::getColorAction(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), (unsigned int)v13); result = ColorChannelSprite::updateValues(v12, v14, a2); if ( !a1[107] ) return result; } else { result = (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v12 + 960LL))(v12, &unk_100A06A06); if ( !a1[107] ) return result; } v15 = a1[94]; v16 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v15 + 64LL))(v15); if ( (unsigned __int8)GJEffectManager::colorExists(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), v16) ) { v17 = GJEffectManager::getColorAction(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), (unsigned int)v16); result = ColorChannelSprite::updateValues(v15, v17, a2); if ( !a1[107] ) return result; } else { result = (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v15 + 960LL))(v15, &unk_100A06A06); if ( !a1[107] ) return result; } v18 = a1[95]; v19 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v18 + 64LL))(v18); if ( (unsigned __int8)GJEffectManager::colorExists(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), v19) ) { v20 = GJEffectManager::getColorAction(*(_QWORD *)(*(_QWORD *)(a1[107] + 3272LL) + 320LL), (unsigned int)v19); return ColorChannelSprite::updateValues(v18, v20, a2); } else { return (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)v18 + 960LL))(v18, &unk_100A06A06); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source