// // -[EditBoxImplIOS initWithFrame:editBox:] from 0x100235bb8 to 0x100235d20 (360 bytes) // // 1 xrefs: // > @ 0x100846268 // // 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 // EditBoxImplIOS *__cdecl -[EditBoxImplIOS initWithFrame:editBox:](EditBoxImplIOS *self, SEL a2, CGRect a3, void *a4) { double height; // d8 double width; // d9 double y; // d10 double x; // d11 EditBoxImplIOS *v9; // x0 EditBoxImplIOS *v10; // x20 CustomUITextField *textField; // x21 objc_super v13; // [xsp+0h] [xbp-50h] BYREF height = a3.size.height; width = a3.size.width; y = a3.origin.y; x = a3.origin.x; v13.receiver = self; v13.super_class = (Class)&OBJC_CLASS___EditBoxImplIOS; v9 = -[EditBoxImplIOS init](&v13, "init"); v10 = v9; if ( v9 ) { v9->editState_ = 0; -[EditBoxImplIOS setTextField:]( v9, "setTextField:", objc_autorelease( -[CustomUITextField initWithFrame:]( objc_alloc(&OBJC_CLASS___CustomUITextField), "initWithFrame:", x, y, width, height))); textField = v10->textField_; if ( textField ) { -[CustomUITextField setTextColor:]( textField, "setTextColor:", +[UIColor whiteColor](&OBJC_CLASS___UIColor, "whiteColor")); -[CustomUITextField setFont:]( v10->textField_, "setFont:", +[UIFont systemFontOfSize:](&OBJC_CLASS___UIFont, "systemFontOfSize:", (height + height) / 3.0)); -[CustomUITextField setContentVerticalAlignment:](v10->textField_, "setContentVerticalAlignment:", 0); -[CustomUITextField setBackgroundColor:]( v10->textField_, "setBackgroundColor:", +[UIColor clearColor](&OBJC_CLASS___UIColor, "clearColor")); -[CustomUITextField setBorderStyle:](v10->textField_, "setBorderStyle:", 0); -[CustomUITextField setDelegate:](v10->textField_, "setDelegate:", v10); -[CustomUITextField setHidden:](v10->textField_, "setHidden:", 1); -[CustomUITextField setReturnKeyType:](v10->textField_, "setReturnKeyType:", 0); -[CustomUITextField addTarget:action:forControlEvents:]( v10->textField_, "addTarget:action:forControlEvents:", v10, "textChanged", 0x20000); -[EditBoxImplIOS setEditBox:](v10, "setEditBox:", a4); } else { return nullptr; } } return v10; }