// // sub_6A3304 from 0x6a3304 to 0x6a3444 (320 bytes) // // 1 xrefs: // > sub_6A344C @ 0x6a4368 // // 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 // _BYTE *__fastcall sub_6A3304(int a1, int a2, _BYTE *a3) { unsigned __int16 v5; // [sp+1Eh] [bp-Eh] unsigned int v6; // [sp+20h] [bp-Ch] _BYTE *v7; // [sp+24h] [bp-8h] v5 = *(_WORD *)(a1 + 98); if ( a2 ) { v6 = (unsigned int)&a3[a2]; v7 = a3; while ( v5 ) { while ( (unsigned int)v7 < v6 && *v7 ) ++v7; if ( (unsigned int)v7 >= v6 ) goto LABEL_10; ++v7; --v5; } return (_BYTE *)(v7 - a3); } else { LABEL_10: TIFFErrorExt( *(_DWORD *)(a1 + 628), "TIFFSetField", "%s: Invalid InkNames value; expecting %d names, found %d", *(const char **)a1, *(unsigned __int16 *)(a1 + 98), *(unsigned __int16 *)(a1 + 98) - v5); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source