// // GameLevelManager::resetCommentTimersForAccountID from 0x1000a7bb4 to 0x1000a7c78 (196 bytes) // // 2 xrefs: // > ProfilePage::onUpdate @ 0x100197968 // > ProfilePage::onUpdate @ 0x100197ab8 // // 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 __fastcall GameLevelManager::resetCommentTimersForAccountID(GameLevelManager *a1, int a2) { int v4; // w23 char v5; // w22 cocos2d::CCString *v6; // x0 char *CString; // x0 void **v8; // x1 _BOOL4 HasTimer; // w0 void **v10; // x1 void *__p[2]; // [xsp+18h] [xbp-48h] BYREF char v12; // [xsp+2Fh] [xbp-31h] v4 = 0; v5 = 1; do { if ( (v5 & 1) == 0 ) break; GameLevelManager::sharedState(); v6 = (cocos2d::CCString *)sub_100268F4C("a_%i_%i", a2, v4); CString = (char *)cocos2d::CCString::getCString(v6); sub_100009900(__p, CString); if ( v12 >= 0 ) v8 = __p; else v8 = (void **)__p[0]; HasTimer = GameLevelManager::keyHasTimer(a1, (const char *)v8); v5 = HasTimer; if ( HasTimer ) { if ( v12 >= 0 ) v10 = __p; else v10 = (void **)__p[0]; GameLevelManager::resetTimerForKey(a1, (const char *)v10); } if ( v12 < 0 ) operator delete(__p[0]); ++v4; } while ( v4 != 101 ); }
GD Web Decomp Icon

GD Web Decomp

Raw Source