//
// cocos2d::CCFileUtilsAndroid::isAbsolutePath from 0x7eb2dc to 0x7eb34e (114 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
//
int __fastcall cocos2d::CCFileUtilsAndroid::isAbsolutePath(int a1, unsigned __int8 *a2)
{
int v2; // r2
_BYTE *v3; // r3
unsigned __int8 *v4; // r5
unsigned int v5; // r2
int v6; // r1
unsigned int v7; // r1
unsigned __int8 *v8; // r3
unsigned __int8 *v9; // r4
unsigned __int8 *v11; // [sp+10h] [bp-Ch] BYREF
v2 = *a2;
if ( (v2 & 1) != 0 )
v3 = *((_BYTE **)a2 + 2);
else
v3 = a2 + 1;
if ( *v3 == 47 )
return 1;
if ( (v2 & 1) != 0 )
{
v4 = *((unsigned __int8 **)a2 + 2);
v5 = *((_DWORD *)a2 + 1);
}
else
{
v4 = a2 + 1;
v5 = v2 >> 1;
}
v6 = *(unsigned __int8 *)(a1 + 32);
if ( (v6 & 1) != 0 )
{
v7 = *(_DWORD *)(a1 + 36);
v8 = *(unsigned __int8 **)(a1 + 40);
}
else
{
v7 = v6 >> 1;
v8 = (unsigned __int8 *)(a1 + 33);
}
if ( v5 >= v7
&& (!v7
|| (v9 = &v4[v5],
std::__search(
&v11,
v4,
&v4[v5],
v8,
&v8[v7],
(int (__fastcall *)(int, _DWORD))std::char_traits::eq),
v11 != v9)
&& v11 == v4) )
{
return 1;
}
else
{
return 0;
}
}