//
// -[EditBoxImplMac setPosition:] from 0x1004a4160 to 0x1004a41d7 (119 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bdcc50
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:53 +0000
//
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);
}