// // RateLevelLayer::selectRating from 0x100595260 to 0x100595340 (224 bytes) // // 2 xrefs: // > RateLevelLayer::init @ 0x10059523d // > RateLevelLayer::init @ 0x100594d7f // // 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:32:28 +0000 // __int64 __fastcall RateLevelLayer::selectRating(__int64 a1, __int64 a2) { int v3; // eax unsigned int v4; // r14d __int64 v5; // rcx _QWORD *v6; // rdi _WORD *v7; // rsi _QWORD *v8; // rax int v9; // r14d _QWORD *v10; // rax _WORD v12[18]; // [rsp+Ch] [rbp-24h] BYREF if ( a2 ) v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); else v3 = -1; *(_DWORD *)(a1 + 684) = v3; if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 672)) ) { v4 = 0; do { v8 = (_QWORD *)sub_1007FEFE0(*(_QWORD *)(a1 + 672), v4); if ( v4 == *(_DWORD *)(a1 + 684) ) { v5 = *v8; v6 = v8; v7 = &unk_100A0CF18; } else { memset(v12, 125, 3); v5 = *v8; v6 = v8; v7 = v12; } (*(void (__fastcall **)(_QWORD *, _WORD *))(v5 + 960))(v6, v7); ++v4; } while ( v4 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 672)) ); } v9 = *(_DWORD *)(a1 + 684) != -1; v10 = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 664) + 1072LL))(*(_QWORD *)(a1 + 664)); return ButtonSprite::setColor(v10, -v9 | 0xFFA6A6A6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source