// // GameLevelManager::getCommentKey from 0x802cbc to 0x802d84 (200 bytes) // // 15 xrefs: // > GameLevelManager::resetCommentTimersForLevelID @ 0x803388 // > GameLevelManager::getLevelComments @ 0x823408 // > GameLevelManager::onUploadCommentCompleted @ 0x833234 // > GameLevelManager::onUploadCommentCompleted @ 0x833278 // > GameLevelManager::onUploadCommentCompleted @ 0x8332bc // > GameLevelManager::onUploadCommentCompleted @ 0x833300 // > GameLevelManager::onUploadCommentCompleted @ 0x833344 // > GameLevelManager::onUploadCommentCompleted @ 0x833388 // > GameLevelManager::onUploadCommentCompleted @ 0x8333cc // > GameLevelManager::onUploadCommentCompleted @ 0x833410 // > GameLevelManager::onUploadCommentCompleted @ 0x833494 // > GameLevelManager::onUploadCommentCompleted @ 0x8334d4 // > InfoLayer::loadPage @ 0x90aa08 // > InfoLayer::init @ 0x90baec // > @ 0xd8460 // // 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:54:44 +0000 // __int64 *__usercall GameLevelManager::getCommentKey@(const char *a1@, __int64 *a2@) { cocos2d::CCString *v3; // x0 const char *CString; // x0 const char *v5; // x22 size_t v6; // x0 size_t v7; // x20 unsigned __int64 v8; // x0 __int64 v9; // x21 __int64 v10; // x0 _BYTE *v11; // x3 _BYTE *v12; // x3 v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"comment_%i_%i_%i_%i", a1); CString = (const char *)cocos2d::CCString::getCString(v3); *a2 = 0; a2[1] = 0; v5 = CString; a2[2] = 0; v6 = strlen(CString); v7 = v6; if ( v6 > 0xFFFFFFFFFFFFFFEFLL ) sub_62C79C(); if ( v6 > 0x16 ) { v8 = (v6 + 16) & 0xFFFFFFFFFFFFFFF0LL; v9 = v8 | 1; v10 = operator new(v8); *a2 = v9; v11 = (_BYTE *)v10; a2[2] = v10; a2[1] = v7; LABEL_4: v12 = memcpy(v11, v5, v7); v12[v7] = 0; return a2; } *(_BYTE *)a2 = 2 * v6; v11 = (char *)a2 + 1; if ( v6 ) goto LABEL_4; *v11 = 0; return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source