// // sub_10020E4E0 from 0x10020e4e0 to 0x10020e588 (168 bytes) // // 3 xrefs: // > LevelSettingsLayer::onGArt @ 0x10020ccac // > sub_10020D7DC @ 0x10020d7ec // > SelectArtLayer::init @ 0x10020e128 // // 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 11:01:01 +0000 // __int64 __fastcall sub_10020E4E0(__int64 a1, __int64 a2) { int v3; // w0 int v4; // w8 __int64 result; // x0 __int64 v6; // x20 __int64 v7; // x0 const char *v8; // x1 if ( a2 ) v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); else v3 = *(_DWORD *)(a1 + 684); if ( v3 <= 1 ) v4 = 1; else v4 = v3; if ( v4 >= 3 ) v4 = 3; *(_DWORD *)(a1 + 684) = v4; result = sub_1002E757C(*(_QWORD *)(a1 + 672)); if ( (_DWORD)result ) { v6 = 0; do { v7 = sub_1002E75A0(*(_QWORD *)(a1 + 672), v6); v6 = (unsigned int)(v6 + 1); if ( (_DWORD)v6 == *(_DWORD *)(a1 + 684) ) v8 = "GJ_button_02.png"; else v8 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v7, (__int64)v8); result = sub_1002E757C(*(_QWORD *)(a1 + 672)); } while ( (unsigned int)v6 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source