// // GJBaseGameLayer::resetGradientLayers from 0x58fe5e to 0x58feae (80 bytes) // // 3 xrefs: // > LevelEditorLayer::updateGameObjects @ 0x46cca4 // > GJBaseGameLayer::triggerGradientCommand @ 0x59b44c // > GJBaseGameLayer::resetLevelVariables @ 0x5b979a // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:53:05 +0000 // int __fastcall GJBaseGameLayer::resetGradientLayers(int this) { int v1; // r3 int v2; // r3 int v3; // r4 int *v4; // r5 int v5; // r3 int v6; // r2 v1 = *(_DWORD *)(this + 10704); if ( v1 ) { v2 = *(_DWORD *)(v1 + 52); if ( v2 ) v3 = *(_DWORD *)(v2 + 272); else v3 = 0; while ( v2 ) { v4 = *(int **)(v2 + 260); (*(void (__fastcall **)(int *, _DWORD))(*v4 + 264))(v4, 0); v5 = *v4; v4[119] = 0; *((_BYTE *)v4 + 480) = 0; this = (*(int (__fastcall **)(int *, _DWORD))(v5 + 172))(v4, 0); if ( v3 ) v6 = *(_DWORD *)(v3 + 272); else v6 = 0; v2 = v3; v3 = v6; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source