// // GameLevelManager::resetCommentTimersForLevelID from 0x4addb8 to 0x4ade5a (162 bytes) // // 3 xrefs: // > InfoLayer::onRefreshComments @ 0x53eaa6 // > InfoLayer::toggleSmallCommentMode @ 0x5406c4 // > InfoLayer::toggleSmallCommentMode @ 0x5406fe // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:50:00 +0000 // GameLevelManager *__fastcall GameLevelManager::resetCommentTimersForLevelID( GameLevelManager *result, const char *a2, int a3) { GameLevelManager *v3; // r9 int i; // r8 int v7; // r7 int v8; // r0 char *v9; // r1 char *v10; // r1 int v11; // r5 int v12[2]; // [sp+8h] [bp-14h] BYREF char *v13; // [sp+10h] [bp-Ch] v3 = result; for ( i = 0; ; i = 1 ) { v7 = 0; do { v8 = GameLevelManager::sharedState(result); GameLevelManager::getCommentKey(v12, v8, a2, v7, i, a3); if ( (v12[0] & 1) != 0 ) v9 = v13; else v9 = (char *)v12 + 1; if ( GameLevelManager::keyHasTimer(v3, v9) ) { if ( (v12[0] & 1) != 0 ) v10 = v13; else v10 = (char *)v12 + 1; GameLevelManager::resetTimerForKey(v3, v10); v11 = 1; } else { v11 = 0; } if ( ++v7 == 101 ) return (GameLevelManager *)std::string::~string((int)v12); result = (GameLevelManager *)std::string::~string((int)v12); } while ( v11 ); if ( i ) break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source