//
// GJTransformControl::updateAnchorSprite from 0xbd19d4 to 0xbd1a20 (76 bytes)
//
// 2 xrefs:
// > EditorUI::showTransformControl @ 0xc0225c
// > ??> @ 0xbfb48
//
// This function is hookable on this platform (idp: arm, 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 13:03:37 +0000
//
__int64 __fastcall GJTransformControl::updateAnchorSprite(__int64 a1, __int64 a2)
{
__int64 v4; // x0
__int64 result; // x0
v4 = GJTransformControl::spriteByTag((cocos2d::CCArray **)a1, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 184LL))(v4, a2);
result = *(_QWORD *)(a1 + 440);
if ( result )
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 96LL))(result);
return result;
}