// // InfoLayer::onRefreshComments from 0x90acd4 to 0x90ad68 (148 bytes) // // 5 xrefs: // > InfoLayer::bulkCommentDeleteFinished @ 0x90ada0 // > InfoLayer::keyDown @ 0x90dc90 // > @ 0x54e08 // > InfoLayer::init @ 0x90bb3c // > @ 0x1541df8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:57:12 +0000 // __int64 __fastcall InfoLayer::onRefreshComments(InfoLayer *this, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 __int64 result; // x0 GameLevelManager *v5; // x0 GameLevelManager *TimeStamp; // x0 GameLevelManager *v7; // x19 unsigned int active; // [xsp+28h] [xbp+28h] v3 = (GameLevelManager *)GameLevelManager::sharedState(this); result = (unsigned int)GameLevelManager::getTimeLeft(v3, "upd_comments", 5.0) - 1; if ( (unsigned int)result > 4 ) { v5 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)result); TimeStamp = (GameLevelManager *)GameLevelManager::makeTimeStamp(v5, "upd_comments"); v7 = (GameLevelManager *)GameLevelManager::sharedState(TimeStamp); active = InfoLayer::activeCommentID(this); InfoLayer::activeCommentKeyType(this); GameLevelManager::resetCommentTimersForLevelID(v7, active); return InfoLayer::loadPage(this, 0, 1u); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source