// // SelectArtLayer::onSelectCustom from 0x10025a530 to 0x10025a5e2 (178 bytes) // // 3 xrefs: // > SelectArtLayer::init @ 0x10025a15b // > SelectArtLayer::init @ 0x10025a24e // > SelectArtLayer::init @ 0x10025a339 // // 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:28 +0000 // __int64 __fastcall SelectArtLayer::onSelectCustom(__int64 a1, __int64 a2) { int v2; // eax int v3; // ecx int v4; // eax __int64 result; // rax unsigned int v6; // r14d __int64 v7; // rax const char *v8; // rsi if ( a2 ) v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); else v2 = *(_DWORD *)(a1 + 684); v3 = 1; if ( v2 >= 2 ) v3 = v2; v4 = 3; if ( v3 < 3 ) v4 = v3; *(_DWORD *)(a1 + 684) = v4; result = sub_1007FEF90(*(_QWORD *)(a1 + 672)); if ( (_DWORD)result ) { v6 = 0; do { v7 = sub_1007FEFE0(*(_QWORD *)(a1 + 672), v6++); v8 = "GJ_button_04.png"; if ( v6 == *(_DWORD *)(a1 + 684) ) v8 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v7, (__int64)v8); result = sub_1007FEF90(*(_QWORD *)(a1 + 672)); } while ( v6 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source