// // DemonFilterSelectLayer::selectRating from 0x10070c610 to 0x10070c6c6 (182 bytes) // // 1 xrefs: // > DemonFilterSelectLayer::init @ 0x10070c3c6 // // 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:36:03 +0000 // __int64 __fastcall DemonFilterSelectLayer::selectRating(__int64 a1, __int64 a2) { __int64 result; // rax unsigned int v3; // r14d __int64 v4; // r15 __int64 v5; // r12 int v6; // r13d void *v7; // rsi *(_DWORD *)(a1 + 680) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); result = sub_1007FEF90(*(_QWORD *)(a1 + 664)); if ( (_DWORD)result ) { v3 = 0; do { v4 = sub_1007FEFE0(*(_QWORD *)(a1 + 664), v3); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1072LL))(v4); v6 = *(_DWORD *)(a1 + 680); v7 = &unk_100A11D58; if ( v6 == (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4) ) v7 = &unk_100A11D5B; (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v5 + 960LL))(v5, v7); ++v3; result = sub_1007FEF90(*(_QWORD *)(a1 + 664)); } while ( v3 < (unsigned int)result ); } return result; }