// // GameLevelManager::getStoredLevelComments from 0x6f8dfc to 0x6f8f18 (284 bytes) // // 4 xrefs: // > InfoLayer::loadPage @ 0x7e33f8 // > InfoLayer::loadPage @ 0x7e354c // > InfoLayer::init @ 0x7e5060 // > @ 0xc7110 // // 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 // cocos2d::CCArray *GameLevelManager::getStoredLevelComments(GameLevelManager *a1, const char *a2) { cocos2d::CCDictionary *m_storedLevels; // x22 cocos2d::CCArray *v5; // x20 char *v6; // x0 unsigned int *v8; // x2 int v9; // w1 std::string v10; // [xsp+40h] [xbp+40h] BYREF if ( !GameLevelManager::isTimeValid(a1, a2, 600.0) ) return nullptr; m_storedLevels = a1->m_storedLevels; sub_D153B8((int)&v10, (char *)a2); v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(m_storedLevels, &v10); v6 = (char *)v10.m_data.m_data - 24; if ( (__int64 *)v10.m_data.m_data - 3 != &qword_124B6B0 ) { if ( &pthread_create ) { v8 = (unsigned int *)((char *)v10.m_data.m_data - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); } else { v9 = *((_DWORD *)v10.m_data.m_data - 2); *((_DWORD *)v10.m_data.m_data - 2) = v9 - 1; } if ( v9 <= 0 ) operator delete(v6); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source