// // sub_4B5ADC from 0x4b5adc to 0x4b5b70 (148 bytes) // // 5 xrefs: // > GameLevelManager::collectPlatformerJournalKeys @ 0x4b5bb2 // > GameLevelManager::prunePlatformerJournalKeys @ 0x4b5d18 // > sub_4C60B4 @ 0x4c60e4 // > GameLevelManager::writePlatformerSaveJournal @ 0x4caec8 // > GameLevelManager::replayPlatformerSaveJournal @ 0x4cfaf8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:50:08 +0000 // unsigned __int8 *__fastcall sub_4B5ADC(cocos2d::CCFileUtils *a1) { int *v2; // r5 int (__fastcall *v3)(int *, char *, __int16 *, int *); // r8 int v4; // r1 int v5; // r2 char *v6; // r1 unsigned __int8 *v7; // r5 int v9; // [sp+Ch] [bp-14h] BYREF char v10; // [sp+10h] [bp-10h] BYREF char v11; // [sp+11h] [bp-Fh] BYREF char *v12; // [sp+18h] [bp-8h] v9 = 0; v2 = (int *)cocos2d::CCFileUtils::sharedFileUtils(a1); v3 = *(int (__fastcall **)(int *, char *, __int16 *, int *))(*v2 + 16); sub_4B59FC((cocos2d::CCFileUtils *)&v10, v4, v5, *v2); if ( (v10 & 1) != 0 ) v6 = v12; else v6 = &v11; v7 = (unsigned __int8 *)v3(v2, v6, &a1i2r3e45s789g[3], &v9); std::string::~string((int)&v10); if ( v7 ) { cocos2d::ZipUtils::decompressString2((cocos2d::ZipUtils *)&v10, v7, 0, v9, 11); operator delete[](v7); v7 = (unsigned __int8 *)DS_Dictionary::loadRootSubDictFromString(a1, &v10); std::string::~string((int)&v10); } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source