boolean GetResourceFlags(int resid, Ref<Integer> out_flags) {
    final Ref<FindEntryResult> entry = new Ref<>(null);
    ApkAssetsCookie cookie = FindEntry(resid, (short) 0 /* density_override */,
        false /* stop_at_first_match */, entry);
    if (cookie.intValue() != kInvalidCookie) {
      out_flags.set(entry.get().type_flags);
      // this makes no sense, not a boolean:
      // return cookie;
    }
    // this makes no sense, not a boolean:
    // return kInvalidCookie;

    return cookie.intValue() != kInvalidCookie;
  }
boolean GetResourceFlags(int resid, Ref<Integer> out_flags) {
    final Ref<FindEntryResult> entry = new Ref<>(null);
    ApkAssetsCookie cookie = FindEntry(resid, (short) 0 ,
        false , entry);
    if (cookie.intValue() != kInvalidCookie) {
      out_flags.set(entry.get().type_flags);
      
      
    }
    
    

    return cookie.intValue() != kInvalidCookie;
  }
boolean GetResourceFlags ( int resid , Ref < Integer > out_flags ) { final Ref < FindEntryResult > entry = new Ref <> ( null ) ; ApkAssetsCookie cookie = FindEntry ( resid , ( short ) 0 /* density_override */ , false /* stop_at_first_match */ , entry ) ; if ( cookie . intValue ( ) != kInvalidCookie ) { out_flags . set ( entry . get ( ) . type_flags ) ; // this makes no sense, not a boolean: // return cookie; } // this makes no sense, not a boolean: // return kInvalidCookie; return cookie . intValue ( ) != kInvalidCookie ; }
boolean GetResourceFlags(int resid, int* out_flags);
boolean GetResourceFlags ( int resid int * out_flags ) ;