// // SelectArtLayer::selectArt from 0x10025a410 to 0x10025a4d2 (194 bytes) // // 1 xrefs: // > SelectArtLayer::init @ 0x100259e0c // // 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::selectArt(__int64 a1, __int64 a2) { __int64 v2; // rax int v4; // r13d bool v5; // r14 __int64 result; // rax unsigned int v7; // r14d __int64 v8; // rcx _QWORD *v9; // rdi _DWORD *v10; // rsi _QWORD *v11; // rax _DWORD v12[11]; // [rsp+0h] [rbp-2Ch] BYREF v12[0] = HIDWORD(v2); if ( a2 ) *(_DWORD *)(a1 + 680) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v4 = 0; v5 = *(_DWORD *)(a1 + 688) < 2u; result = sub_1007FEF90(*(_QWORD *)(a1 + 664)); if ( (_DWORD)result ) { LOBYTE(v4) = v5; v7 = 0; do { v11 = (_QWORD *)sub_1007FEFE0(*(_QWORD *)(a1 + 664), v7); if ( v7 + v4 == *(_DWORD *)(a1 + 680) ) { v8 = *v11; v9 = v11; v10 = &unk_100A06A06; } else { memset(v12, 125, 3); v8 = *v11; v9 = v11; v10 = v12; } (*(void (__fastcall **)(_QWORD *, _DWORD *))(v8 + 960))(v9, v10); ++v7; result = sub_1007FEF90(*(_QWORD *)(a1 + 664)); } while ( v7 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source