//
// -[EditBoxImplMac setPosition:] from 0x1004ab2c0 to 0x1004ab337 (119 bytes)
//
// 1 xrefs:
// > ??> @ 0x10099abb0
//
// 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 -[EditBoxImplMac setPosition:](EditBoxImplMac *self, SEL a2, CGPoint a3)
{
__int64 v3; // rdx
__int64 v4; // rcx
__int64 v5; // r8
__int64 v6; // r9
CustomNSTextField *textField; // rsi
CustomNSTextField *v8; // rdi
__int128 v9; // [rsp+28h] [rbp-38h] BYREF
__int128 v10; // [rsp+38h] [rbp-28h]
CGFloat y; // [rsp+48h] [rbp-18h]
CGFloat x; // [rsp+50h] [rbp-10h]
textField = self->textField_;
if ( textField )
{
y = a3.y;
x = a3.x;
objc_msgSend_stret(&v9, (SEL)textField, "frame");
a3.x = x;
a3.y = y;
v8 = self->textField_;
}
else
{
v10 = 0;
v8 = nullptr;
}
*(CGFloat *)&v9 = a3.x;
*((_QWORD *)&v9 + 1) = *(_QWORD *)&a3.y;
-[CustomNSTextField setFrame:](v8, "setFrame:", v3, v4, v5, v6, v9, v10);
}