// // GameLevelManager::levelIDFromCommentKey from 0x14023def0 to 0x14023e008 (280 bytes) // // 4 xrefs: // > GameLevelManager::onGetLevelCommentsCompleted @ 0x14023c8ea // > GameLevelManager::onGetAccountCommentsCompleted @ 0x14023d155 // > GameLevelManager::onDeleteCommentCompleted @ 0x1402409b5 // > @ 0x14091c13c // // This function is hookable on this platform (idp: pc, 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 11:28:35 +0000 // // Hidden C++ exception states: #wind=1 int __fastcall GameLevelManager::levelIDFromCommentKey(__int64 a1, _BYTE *a2) { size_t v2; // r8 cocos2d::CCArray *v3; // rbx void *v4; // r8 cocos2d::CCString *v5; // rax const char *CString; // rax void *Block[2]; // [rsp+30h] [rbp-38h] BYREF __m128i si128; // [rsp+40h] [rbp-28h] *(_OWORD *)Block = 0; si128 = 0; v2 = -1; do ++v2; while ( a2[v2] ); sub_14003D230(Block, a2, v2); v3 = sub_1400D2840((__int64 *)Block, "_"); if ( si128.m128i_i64[1] > 0xFuLL ) { v4 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v4 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v4); } si128 = _mm_load_si128((const __m128i *)&Size); LOBYTE(Block[0]) = 0; if ( cocos2d::CCArray::count(v3) < 3 ) return 0; v5 = cocos2d::CCArray::objectAtIndex(v3, 1u); CString = cocos2d::CCString::getCString(v5); return atoi(CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source