// // GameStatsManager::accountIDForIcon from 0x10032b630 to 0x10032b69b (107 bytes) // // 1 xrefs: // > ItemInfoPopup::init @ 0x1003727fb // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall GameStatsManager::accountIDForIcon(GameStatsManager *a1, int a2, UnlockType a3) { std::__tree_end_node *>::pointer left; // r8 int result; // eax std::__compressed_pair *>> *p_pair1; // rdi std::__compressed_pair *>> *v6; // rcx left = a1->m_accountIDForIcon.__tree_.__pair1_.__value_.__left_; result = 0; if ( left ) { p_pair1 = &a1->m_accountIDForIcon.__tree_.__pair1_; v6 = p_pair1; do { if ( *((_DWORD *)left + 7) < a2 ) { left = (std::__tree_end_node *>::pointer)((char *)left + 8); } else if ( *((_DWORD *)left + 7) <= a2 ) { if ( *((_DWORD *)left + 8) >= a3 ) v6 = (std::__compressed_pair *>> *)left; left = (std::__tree_end_node *>::pointer)((char *)left + 8 * (*((_DWORD *)left + 8) < a3)); } else { v6 = (std::__compressed_pair *>> *)left; } left = *(std::__tree_end_node *>::pointer *)left; } while ( left ); if ( v6 != p_pair1 && SHIDWORD(v6[3].__value_.__left_) <= a2 && (SHIDWORD(v6[3].__value_.__left_) < a2 || SLODWORD(v6[4].__value_.__left_) <= a3) ) { return HIDWORD(v6[4].__value_.__left_); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source