// // GameStatsManager::accountIDForIcon from 0x100316d40 to 0x100316dab (107 bytes) // // 1 xrefs: // > ItemInfoPopup::init @ 0x10035bcce // // 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:28:40 +0000 // __int64 __fastcall GameStatsManager::accountIDForIcon(__int64 a1, int a2, int a3) { _DWORD *v3; // r8 __int64 result; // rax _DWORD *v5; // rdi _DWORD *v6; // rcx v3 = *(_DWORD **)(a1 + 848); result = 0; if ( v3 ) { v5 = (_DWORD *)(a1 + 848); v6 = v5; do { if ( v3[7] < a2 ) { v3 += 2; } else if ( v3[7] <= a2 ) { if ( v3[8] >= a3 ) v6 = v3; v3 += 2 * (v3[8] < a3); } else { v6 = v3; } v3 = *(_DWORD **)v3; } while ( v3 ); if ( v6 != v5 && v6[7] <= a2 && (v6[7] < a2 || v6[8] <= a3) ) return (unsigned int)v6[9]; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source