// // _TIFFFindFieldByName from 0xc33e00 to 0xc33edc (220 bytes) // // 2 xrefs: // > TIFFFieldWithName @ 0xc33f64 // > @ 0x409e0 // // 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 TIFFFindFieldByName(_QWORD *a1, char *a2, int a3) { __int64 v3; // x20 __int64 *v7; // x19 unsigned __int64 v8; // x21 v3 = a1[128]; if ( !v3 || strcmp(*(const char **)(v3 + 32), a2) || a3 && *(_DWORD *)(v3 + 8) != a3 ) { v7 = (__int64 *)a1[126]; if ( v7 ) { v8 = (unsigned __int64)&v7[a1[127]]; if ( (unsigned __int64)v7 >= v8 ) { LABEL_9: v3 = 0; } else if ( a3 ) { while ( 1 ) { v3 = *v7; if ( !strcmp(a2, *(const char **)(*v7 + 32)) && *(_DWORD *)(v3 + 8) == a3 ) break; if ( v8 <= (unsigned __int64)++v7 ) goto LABEL_9; } } else { while ( 1 ) { v3 = *v7; if ( !strcmp(a2, *(const char **)(*v7 + 32)) ) break; if ( (unsigned __int64)++v7 >= v8 ) goto LABEL_9; } } a1[128] = v3; } else { return 0; } } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source