//
// EmotePickerPopup::buttonAnchor from 0x1401237e0 to 0x140123840 (96 bytes)
//
// 11 xrefs:
// > ThreadViewPopup::onEmotes @ 0x1400de363
// > NewThreadPopup::onEmotes @ 0x1400f064a
// > NewThreadPopup::onPickIcon @ 0x1400f07cb
// > ThreadDescPopup::onPickIcon @ 0x1400fd9a0
// > ThreadDescPopup::onEmotes @ 0x1400fdac3
// > EditLevelLayer::onEmotes @ 0x14017b746
// > SoundPackDescPopup::onPickIcon @ 0x14019a070
// > SoundPackDescPopup::onEmotes @ 0x14019a193
// > SetTextPopup::onEmotes @ 0x1403a84f8
// > ShareCommentLayer::onEmotes @ 0x14062ffad
// > ??> @ 0x140916814
//
// 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 11:26:57 +0000
//
__int64 __fastcall EmotePickerPopup::buttonAnchor(__int64 a1, __int64 a2)
{
__int64 (__fastcall *v4)(__int64); // rdi
__int64 v5; // rbx
__int64 v6; // rax
v4 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 504LL);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 200LL))(a2);
v6 = v4(a2);
cocos2d::CCNode::convertToWorldSpace(v6, a1, v5);
return a1;
}