// // cocos2d::CCFileUtilsWin32::isAbsolutePath from 0x18007abe0 to 0x18007acd2 (242 bytes) // // 3 xrefs: // > @ 0x180101100 // > @ 0x1801438a8 // > @ 0x1801b4cd4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall cocos2d::CCFileUtilsWin32::isAbsolutePath(__int64 a1, _QWORD *a2) { void *v2; // rcx void **v3; // rax void **v4; // rax void **v5; // rax void **v6; // rax void **v7; // rax unsigned __int8 v8; // bl void *Block[3]; // [rsp+20h] [rbp-38h] BYREF unsigned __int64 v11; // [rsp+38h] [rbp-20h] if ( a2[3] > 0xFu ) a2 = (_QWORD *)*a2; cocos2d::CCFileUtilsWin32::utf8Togbk(a1, Block, a2); v2 = Block[0]; if ( Block[2] <= (void *)2 ) goto LABEL_20; v3 = Block; if ( v11 > 0xF ) v3 = (void **)Block[0]; if ( *(char *)v3 < 97 ) goto LABEL_15; v4 = Block; if ( v11 > 0xF ) v4 = (void **)Block[0]; if ( *(char *)v4 > 122 ) { LABEL_15: v5 = Block; if ( v11 > 0xF ) v5 = (void **)Block[0]; if ( *(char *)v5 < 65 ) goto LABEL_20; v6 = Block; if ( v11 > 0xF ) v6 = (void **)Block[0]; if ( *(char *)v6 > 90 ) goto LABEL_20; } v7 = Block; if ( v11 > 0xF ) v7 = (void **)Block[0]; if ( *((_BYTE *)v7 + 1) == 58 ) v8 = 1; else LABEL_20: v8 = 0; if ( v11 > 0xF ) { if ( v11 + 1 >= 0x1000 ) { v2 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v2 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free_0(v2); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source