// // GameLevelManager::resetCommentTimersForLevelID from 0x1000a7aa0 to 0x1000a7b98 (248 bytes) // // 2 xrefs: // > InfoLayer::toggleSmallCommentMode @ 0x100351e64 // > InfoLayer::onRefreshComments @ 0x1003528d0 // // 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::resetCommentTimersForLevelID(GameLevelManager *a1, int a2, CommentKeyType a3) { int v6; // w24 char v7; // w8 int v8; // w27 char v9; // w26 char v10; // w23 cocos2d::CCString *v11; // x0 char *CString; // x0 void **v13; // x1 _BOOL4 HasTimer; // w0 void **v15; // x1 void *__p[2]; // [xsp+28h] [xbp-68h] BYREF char v17; // [xsp+3Fh] [xbp-51h] v6 = 0; v7 = 1; do { v8 = 0; v9 = v7; v10 = 1; while ( (v10 & 1) != 0 ) { GameLevelManager::sharedState(); v11 = (cocos2d::CCString *)sub_100268F4C("comment_%i_%i_%i_%i", a2, v8, v6, a3); CString = (char *)cocos2d::CCString::getCString(v11); sub_100009900(__p, CString); if ( v17 >= 0 ) v13 = __p; else v13 = (void **)__p[0]; HasTimer = GameLevelManager::keyHasTimer(a1, (const char *)v13); v10 = HasTimer; if ( HasTimer ) { if ( v17 >= 0 ) v15 = __p; else v15 = (void **)__p[0]; GameLevelManager::resetTimerForKey(a1, (const char *)v15); } if ( v17 < 0 ) operator delete(__p[0]); if ( ++v8 == 101 ) return; } v7 = 0; v6 = 1; } while ( (v9 & 1) != 0 ); }
GD Web Decomp Icon

GD Web Decomp

Raw Source