//
// GJTransformControl::updateAnchorSprite from 0x1006478c0 to 0x100647905 (69 bytes)
//
// 1 xrefs:
// > EditorUI::showTransformControl @ 0x10061364a
//
// 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:34:45 +0000
//
__int64 __fastcall GJTransformControl::updateAnchorSprite(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 result; // rax
__int64 v4; // rdi
v2 = sub_1007FEFE0(*(_QWORD *)(a1 + 512), 0);
result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 184LL))(v2, a2);
v4 = *(_QWORD *)(a1 + 440);
if ( v4 )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 96LL))(v4);
return result;
}