//
// cocos2d::CCFileUtils::init from 0x7e7f34 to 0x7e7fc0 (140 bytes)
//
// 1 xrefs:
// > cocos2d::CCFileUtilsAndroid::init @ 0x7eb576
//
// 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:55 +0000
//
int __fastcall cocos2d::CCFileUtils::init(cocos2d::CCFileUtils *this)
{
char *v1; // r1
int *v3; // r0
_DWORD *v4; // r3
int v5; // r1
int v6; // r2
int v8; // [sp+0h] [bp-14h] BYREF
int v9; // [sp+4h] [bp-10h]
int v10; // [sp+8h] [bp-Ch]
v1 = (char *)this + 32;
v3 = *((int **)this + 6);
if ( v3 == *((int **)this + 7) )
{
std::vector::__push_back_slow_path((int *)this + 5, (int)v1);
}
else
{
if ( v3 )
std::string::basic_string(v3, (int)v1);
*((_DWORD *)this + 6) += 12;
}
v8 = 0;
v9 = 0;
v10 = 0;
std::string::__init(&v8, &unk_B6B226, 0);
v4 = *((_DWORD **)this + 3);
if ( (unsigned int)v4 >= *((_DWORD *)this + 4) )
{
std::vector::__push_back_slow_path((void **)this + 2, &v8);
}
else
{
if ( v4 )
{
v5 = v9;
v6 = v10;
*v4 = v8;
v4[1] = v5;
v4[2] = v6;
v8 = 0;
v9 = 0;
v10 = 0;
}
*((_DWORD *)this + 3) += 12;
}
std::string::~string((int)&v8);
return 1;
}