// // cocos2d::CCFileUtilsAndroid::isAbsolutePath from 0xd7c478 to 0xd7c540 (200 bytes) // // 2 xrefs: // > @ 0xbcdd0 // > @ 0x152de38 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:08:07 +0000 // bool __fastcall cocos2d::CCFileUtilsAndroid::isAbsolutePath(__int64 a1, __int64 a2) { _BYTE *v2; // x20 unsigned __int8 v3; // w4 unsigned __int64 v4; // x3 unsigned __int64 v5; // x4 unsigned __int8 *v6; // x2 _BOOL8 result; // x0 _BYTE *v8; // x19 __int64 v9; // x0 if ( (*(_BYTE *)a2 & 1) != 0 ) { v2 = *(_BYTE **)(a2 + 16); if ( *v2 == 47 ) return 1; v3 = *(_BYTE *)(a1 + 64); v4 = *(_QWORD *)(a2 + 8); if ( (v3 & 1) == 0 ) goto LABEL_4; } else { if ( *(_BYTE *)(a2 + 1) == 47 ) return 1; v3 = *(_BYTE *)(a1 + 64); v2 = (_BYTE *)(a2 + 1); v4 = *(_BYTE *)a2 >> 1; if ( (v3 & 1) == 0 ) { LABEL_4: v5 = v3 >> 1; v6 = (unsigned __int8 *)(a1 + 65); if ( v4 < v5 ) return 0; goto LABEL_9; } } v5 = *(_QWORD *)(a1 + 72); v6 = *(unsigned __int8 **)(a1 + 80); if ( v4 < v5 ) return 0; LABEL_9: result = 1; if ( !v5 ) return result; v8 = &v2[v4]; v9 = std::__search( (__int64)v2, (__int64)&v2[v4], v6, &v6[v5], (unsigned __int8 (__fastcall *)(__int64, _QWORD))std::char_traits::eq); return v8 != (_BYTE *)v9 && (_BYTE *)v9 == v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source