// // GameLevelManager::getStoredLevelComments from 0x14015d9b0 to 0x14015da92 (226 bytes) // // 3 xrefs: // > InfoLayer::init @ 0x1402bc6d1 // > InfoLayer::loadPage @ 0x1402be596 // > @ 0x1406caac4 // // 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) { size_t v4; // r8 cocos2d::CCArray *v5; // rbx void *v6; // rcx cocos2d::CCArray *result; // rax void *Block[2]; // [rsp+20h] [rbp-38h] BYREF __int128 v9; // [rsp+30h] [rbp-28h] if ( !GameLevelManager::isTimeValid(a1, a2, 600.0) ) return nullptr; *(_OWORD *)Block = 0; v9 = 0; v4 = -1; do ++v4; while ( a2[v4] ); sub_14003A930(Block, a2, v4); v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a1->m_storedLevels, Block); if ( *((_QWORD *)&v9 + 1) > 0xFu ) { v6 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v9 + 1) + 1LL) >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v6); } result = nullptr; if ( v5 ) return v5; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source