// // -[iRate resizeAlertView:] from 0x1003a6524 to 0x1003a68d8 (948 bytes) // // 1 xrefs: // > @ 0x1008479f8 // // 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 // void __cdecl -[iRate resizeAlertView:](iRate *self, SEL a2, id a3) { id v3; // x19 UIDevice *v4; // x20 NSString *v5; // x21 float v6; // s0 float v7; // s8 void *v8; // x0 void *v9; // x21 __int64 v10; // x27 double v11; // d13 double v12; // d12 void *v13; // x20 void *v14; // x22 double v15; // d0 double v16; // d8 double v17; // d1 double v18; // d10 double v19; // d2 double v20; // d9 double v21; // d3 double v22; // d11 id v23; // x23 void *v24; // x24 void *v25; // x25 unsigned int v26; // w26 double v27; // d3 double v28; // d11 double v29; // d3 void *v30; // x24 void *v31; // x25 unsigned int v32; // w26 double v33; // d3 double v34; // d3 void *v35; // x0 __int64 v36; // [xsp+0h] [xbp-160h] __int64 v37; // [xsp+0h] [xbp-160h] id obj; // [xsp+8h] [xbp-158h] __int128 v39; // [xsp+10h] [xbp-150h] BYREF __int128 v40; // [xsp+20h] [xbp-140h] __int128 v41; // [xsp+30h] [xbp-130h] __int128 v42; // [xsp+40h] [xbp-120h] _BYTE v43[128]; // [xsp+50h] [xbp-110h] BYREF v3 = objc_retain(a3); v4 = objc_retainAutoreleasedReturnValue(+[UIDevice currentDevice](&OBJC_CLASS___UIDevice, "currentDevice")); v5 = objc_retainAutoreleasedReturnValue(-[UIDevice systemVersion](v4, "systemVersion")); -[NSString floatValue](v5, "floatValue"); v7 = v6; objc_release(v5); objc_release(v4); if ( v7 < 7.0 ) { v41 = 0u; v42 = 0u; v39 = 0u; v40 = 0u; obj = objc_retainAutoreleasedReturnValue(objc_msgSend(v3, "subviews")); v8 = objc_msgSend(obj, "countByEnumeratingWithState:objects:count:", &v39, v43, 16); if ( !v8 ) goto LABEL_27; v9 = v8; v36 = 0; v10 = *(_QWORD *)v40; v11 = 0.0; v12 = 0.0; while ( 1 ) { v13 = nullptr; do { if ( *(_QWORD *)v40 != v10 ) objc_enumerationMutation(obj); v14 = *(void **)(*((_QWORD *)&v39 + 1) + 8LL * (_QWORD)v13); objc_msgSend(v14, "frame", v36); v16 = v15; v18 = v17; v20 = v19; v22 = v21; if ( (unsigned int)objc_msgSend(v14, "isKindOfClass:", +[UILabel class](&OBJC_CLASS___UILabel, "class")) ) { v23 = objc_retain(v14); v24 = objc_retainAutoreleasedReturnValue(objc_msgSend(v23, "text")); v25 = objc_retainAutoreleasedReturnValue(objc_msgSend(v3, "title")); v26 = (unsigned int)objc_msgSend(v24, "isEqualToString:", v25); objc_release(v25); objc_release(v24); if ( v26 ) { objc_msgSend(v23, "frame"); v28 = v27; objc_msgSend(v23, "sizeToFit"); objc_msgSend(v23, "frame"); v11 = v29 - v28; v12 = v29 - v28; goto LABEL_14; } v30 = objc_retainAutoreleasedReturnValue(objc_msgSend(v23, "text")); v31 = objc_retainAutoreleasedReturnValue(objc_msgSend(v3, "message")); v32 = (unsigned int)objc_msgSend(v30, "isEqualToString:", v31); objc_release(v31); objc_release(v30); if ( v32 ) { objc_msgSend(v23, "setLineBreakMode:", 0); objc_msgSend(v23, "setNumberOfLines:", 0); objc_msgSend(v23, "setAlpha:", 1.0); objc_msgSend(v23, "sizeToFit"); objc_msgSend(v23, "frame"); v12 = v12 + v33 - v22; v18 = v11 + v18; LABEL_14: objc_msgSend(v23, "frame"); v22 = v34; } objc_release(v23); LABEL_16: objc_msgSend(v14, "setFrame:", v16, v18, v20, v22, v37); goto LABEL_17; } if ( (unsigned int)objc_msgSend(v14, "isKindOfClass:", +[UITextView class](&OBJC_CLASS___UITextView, "class")) ) { objc_msgSend(v14, "setAlpha:", 0.0); goto LABEL_16; } if ( !(unsigned int)objc_msgSend( v14, "isKindOfClass:", +[UIImageView class](&OBJC_CLASS___UIImageView, "class")) ) { if ( (unsigned int)objc_msgSend(v14, "isKindOfClass:", +[UIControl class](&OBJC_CLASS___UIControl, "class")) ) v18 = v12 + v18; goto LABEL_16; } if ( v37 >= 1 ) objc_msgSend(v14, "setAlpha:", 0.0); objc_msgSend(v14, "setFrame:", v16, v18, v20, v22, v37 + 1); LABEL_17: v13 = (char *)v13 + 1; } while ( v9 != v13 ); v35 = objc_msgSend(obj, "countByEnumeratingWithState:objects:count:", &v39, v43, 16); v9 = v35; if ( !v35 ) { LABEL_27: objc_release(obj); objc_msgSend(v3, "frame"); objc_msgSend(v3, "setFrame:"); break; } } } objc_release(v3); }