// // GameStatsManager::incrementActivePath from 0x7b9eb0 to 0x7b9fb4 (260 bytes) // // 2 xrefs: // > GameStatsManager::incrementStat @ 0x7ba0cc // > @ 0x3f210 // // 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 // void GameStatsManager::incrementActivePath(GameStatsManager *a1, int a2) { GameToolbox *m_activePath; // x0 char *v5; // x0 unsigned int *v6; // x2 int v7; // w1 char *v8; // [xsp+40h] [xbp+40h] BYREF GameStatsManager::trySelectActivePath(a1); m_activePath = (GameToolbox *)(unsigned int)a1->m_activePath; if ( (unsigned int)((_DWORD)m_activePath - 30) <= 9 ) { GameToolbox::intToString((__int64 *)&v8, m_activePath); GameStatsManager::incrementStat(a1, v8, a2); v5 = v8 - 24; if ( v8 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v6 = (unsigned int *)(v8 - 8); do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *((_DWORD *)v8 - 2); *((_DWORD *)v8 - 2) = v7 - 1; } if ( v7 <= 0 ) operator delete(v5); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source