//
// cocos2d::CCFileUtilsAndroid::getWritablePath from 0x7eb230 to 0x7eb2cc (156 bytes)
//
// 0 xrefs:
//
// 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 12:00:59 +0000
//
cocos2d::CCFileUtilsAndroid *__fastcall cocos2d::CCFileUtilsAndroid::getWritablePath(cocos2d::CCFileUtilsAndroid *this)
{
size_t v2; // r2
char *v3; // r1
_DWORD *v4; // r0
int v5; // r0
int v6; // r1
int v7; // r2
int v9; // [sp+4h] [bp-1Ch] BYREF
int v10; // [sp+8h] [bp-18h]
int v11; // [sp+Ch] [bp-14h]
unsigned __int8 v12; // [sp+10h] [bp-10h] BYREF
char v13; // [sp+11h] [bp-Fh] BYREF
size_t v14; // [sp+14h] [bp-Ch]
char *v15; // [sp+18h] [bp-8h]
v9 = 0;
v10 = 0;
v11 = 0;
std::string::__init(&v9, &unk_B6B226, 0);
getFileDirectoryJNI();
if ( (v12 & 1) == 0 )
{
v2 = (int)v12 >> 1;
if ( v2 )
{
v3 = &v13;
goto LABEL_6;
}
LABEL_7:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
std::string::__init((int *)this, &unk_B6B226, 0);
goto LABEL_8;
}
v2 = v14;
if ( !v14 )
goto LABEL_7;
v3 = v15;
LABEL_6:
v4 = std::string::append(&v9, v3, v2);
std::string::append(v4, "/");
v5 = v9;
v6 = v10;
v7 = v11;
v9 = 0;
v10 = 0;
v11 = 0;
*(_DWORD *)this = v5;
*((_DWORD *)this + 1) = v6;
*((_DWORD *)this + 2) = v7;
LABEL_8:
std::string::~string((int)&v12);
std::string::~string((int)&v9);
return this;
}