// // GJBaseGameLayer::updateLevelColors from 0x99a268 to 0x99a564 (764 bytes) // // 12 xrefs: // > PlayLayer::setupHasCompleted @ 0x708070 // > PlayLayer::setupHasCompleted @ 0x708300 // > PlayLayer::setupHasCompleted @ 0x7083ec // > PlayLayer::postUpdate @ 0x708e9c // > PlayLayer::resetLevel @ 0x7115d0 // > LevelEditorLayer::onPlaytest @ 0x7967fc // > LevelEditorLayer::postUpdate @ 0x79b1b8 // > LevelEditorLayer::updateGameObjects @ 0x79e96c // > GJBaseGameLayer::asyncBGLoaded @ 0x99a588 // > GJBaseGameLayer::asyncGLoaded @ 0x99a618 // > GJBaseGameLayer::asyncMGLoaded @ 0x99a63c // > @ 0x88420 // // This function is hookable on this platform (idp: arm, 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:58:04 +0000 // __int64 __fastcall GJBaseGameLayer::updateLevelColors(GJBaseGameLayer *this) { __int64 active; // x0 __int64 v3; // x2 __int64 v4; // x0 __int64 v5; // x0 int v6; // w2 GJEffectManager *v7; // x0 float v8; // s0 __int64 v9; // x20 unsigned __int8 shouldBlend; // w0 __int64 v11; // x20 unsigned __int8 v12; // w0 __int64 v13; // x20 __int64 v14; // x0 __int64 v15; // x20 __int64 v16; // x0 GJMGLayer *v17; // x20 float v18; // s0 GJMGLayer *v19; // x20 float v20; // s0 __int64 v21; // x20 unsigned __int8 v22; // w0 __int64 v23; // x20 unsigned __int8 v24; // w0 float v26; // [xsp+30h] [xbp+30h] __int16 v27; // [xsp+40h] [xbp+40h] BYREF char v28; // [xsp+42h] [xbp+42h] __int64 v29; // [xsp+48h] [xbp+48h] __int16 v30; // [xsp+50h] [xbp+50h] BYREF char v31; // [xsp+52h] [xbp+52h] __int64 v32; // [xsp+58h] [xbp+58h] __int64 v33; // [xsp+60h] [xbp+60h] active = GJEffectManager::activeColorForIndex(*((GJEffectManager **)this + 269), 1000); v3 = *((_QWORD *)this + 493); v27 = active; v28 = BYTE2(active); (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v3 + 960LL))(v3, &v27); v4 = GJEffectManager::activeColorForIndex(*((GJEffectManager **)this + 269), 1001); LOWORD(v29) = v4; BYTE2(v29) = BYTE2(v4); GJGroundLayer::updateGround01Color(*((_QWORD *)this + 495), v29); GJGroundLayer::updateGround01Color(*((_QWORD *)this + 496), v29); if ( *(_QWORD *)(*((_QWORD *)this + 495) + 416LL) ) { v5 = GJEffectManager::activeColorForIndex(*((GJEffectManager **)this + 269), 1009); LOWORD(v33) = v5; BYTE2(v33) = BYTE2(v5); GJGroundLayer::updateGround02Color(*((_QWORD *)this + 495), v33); GJGroundLayer::updateGround02Color(*((_QWORD *)this + 496), v33); } v6 = GJEffectManager::activeColorForIndex(*((GJEffectManager **)this + 269), 1002); v7 = *((GJEffectManager **)this + 269); v31 = BYTE2(v6); v30 = v6; GJEffectManager::activeOpacityForIndex(v7, 1002); v26 = v8; (*(void (__fastcall **)(_QWORD, __int16 *))(**(_QWORD **)(*((_QWORD *)this + 495) + 432LL) + 960LL))( *(_QWORD *)(*((_QWORD *)this + 495) + 432LL), &v30); (*(void (__fastcall **)(_QWORD, __int16 *))(**(_QWORD **)(*((_QWORD *)this + 496) + 432LL) + 960LL))( *(_QWORD *)(*((_QWORD *)this + 496) + 432LL), &v30); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)this + 495) + 432LL) + 912LL))( *(_QWORD *)(*((_QWORD *)this + 495) + 432LL), (unsigned __int8)(unsigned int)(float)(v26 * 255.0)); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)this + 496) + 432LL) + 912LL))( *(_QWORD *)(*((_QWORD *)this + 496) + 432LL), (unsigned __int8)(unsigned int)(float)(v26 * 255.0)); v9 = *((_QWORD *)this + 495); shouldBlend = GJEffectManager::shouldBlend(*((GJEffectManager **)this + 269), 1002); GJGroundLayer::updateLineBlend(v9, shouldBlend); v11 = *((_QWORD *)this + 496); v12 = GJEffectManager::shouldBlend(*((GJEffectManager **)this + 269), 1002); GJGroundLayer::updateLineBlend(v11, v12); v13 = *((_QWORD *)this + 497); if ( v13 ) { v14 = GJEffectManager::activeColorForIndex(*((GJEffectManager **)this + 269), 1013); LOWORD(v32) = v14; BYTE2(v32) = BYTE2(v14); GJMGLayer::updateGroundColor(v13, v32, 1); v15 = *((_QWORD *)this + 497); v16 = GJEffectManager::activeColorForIndex(*((GJEffectManager **)this + 269), 1014); LOWORD(v33) = v16; BYTE2(v33) = BYTE2(v16); GJMGLayer::updateGroundColor(v15, v33, 0); v17 = *((GJMGLayer **)this + 497); GJEffectManager::activeOpacityForIndex(*((GJEffectManager **)this + 269), 1013); GJMGLayer::updateGroundOpacity(v17, (unsigned int)(float)(v18 * 255.0), 1); v19 = *((GJMGLayer **)this + 497); GJEffectManager::activeOpacityForIndex(*((GJEffectManager **)this + 269), 1014); GJMGLayer::updateGroundOpacity(v19, (unsigned int)(float)(v20 * 255.0), 0); v21 = *((_QWORD *)this + 497); v22 = GJEffectManager::shouldBlend(*((GJEffectManager **)this + 269), 1013); GJMGLayer::updateMG01Blend(v21, v22); v23 = *((_QWORD *)this + 497); v24 = GJEffectManager::shouldBlend(*((GJEffectManager **)this + 269), 1014); GJMGLayer::updateMG02Blend(v23, v24); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source