// // sub_4B59FC from 0x4b59fc to 0x4b5a56 (90 bytes) // // 2 xrefs: // > sub_4B5A60 @ 0x4b5a92 // > sub_4B5ADC @ 0x4b5b02 // // 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 // cocos2d::CCFileUtils *__fastcall sub_4B59FC(cocos2d::CCFileUtils *a1, int a2, int a3, int a4) { int v5; // r0 _DWORD *v6; // r0 int v7; // r1 int v8; // r2 int v10[4]; // [sp+0h] [bp-10h] BYREF v10[0] = (int)a1; v10[1] = a2; v10[2] = a3; v10[3] = a4; v5 = cocos2d::CCFileUtils::sharedFileUtils(a1); std::string::basic_string(v10, v5 + 56); v6 = std::string::append(v10, "CCPlatformerSave.dat"); v7 = v6[1]; v8 = v6[2]; *(_DWORD *)a1 = *v6; *((_DWORD *)a1 + 1) = v7; *((_DWORD *)a1 + 2) = v8; *v6 = 0; v6[1] = 0; v6[2] = 0; std::string::~string((int)v10); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source