// // LevelSettingsLayer::onGArt from 0x1002580f0 to 0x1002581d1 (225 bytes) // // 1 xrefs: // > LevelSettingsLayer::init @ 0x1002569f5 // // 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::onGArt(__int64 a1) { int v2; // r15d __int64 v3; // r14 __int64 v4; // rdi int v5; // eax unsigned int v6; // r15d __int64 v7; // rax const char *v8; // rsi v2 = 1; v3 = SelectArtLayer::create(1, *(unsigned int *)(*(_QWORD *)(a1 + 816) + 356LL)); v4 = *(_QWORD *)(v3 + 672); if ( v4 ) { if ( *(int *)(*(_QWORD *)(a1 + 816) + 424LL) >= 2 ) v2 = *(_DWORD *)(*(_QWORD *)(a1 + 816) + 424LL); v5 = 3; if ( v2 < 3 ) v5 = v2; *(_DWORD *)(v3 + 684) = v5; if ( (unsigned int)sub_1007FEF90(v4) ) { v6 = 0; do { v7 = sub_1007FEFE0(*(_QWORD *)(v3 + 672), v6++); v8 = "GJ_button_04.png"; if ( v6 == *(_DWORD *)(v3 + 684) ) v8 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v7, (__int64)v8); } while ( v6 < (unsigned int)sub_1007FEF90(*(_QWORD *)(v3 + 672)) ); } } *(_QWORD *)(v3 + 696) = a1 + 672; return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source