//
// Dropdown::setPosition from 0xcb5cb0 to 0xcb5d38 (136 bytes)
//
// 2 xrefs:
// > ??> @ 0xb9ef0
// > ??> @ 0x14f9348
//
// 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:06:12 +0000
//
__int64 __fastcall Dropdown::setPosition(cocos2d::CCNode **this, const cocos2d::CCPoint *a2)
{
__int64 v4; // x20
cocos2d::CCNode *v5; // x0
const cocos2d::CCPoint *v6; // x1
void (__fastcall *v7)(__int64, __int64 *); // x22
__int64 v9; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCNode::setPosition((cocos2d::CCNode *)this, a2);
v4 = (__int64)*(this + 49);
if ( v4 )
{
v5 = *(this + 42);
if ( v5 )
{
v6 = a2;
v7 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v4 + 184LL);
cocos2d::CCNode::convertToNodeSpace(&v9, v5, v6);
v7(v4, &v9);
}
}
return _stack_chk_guard;
}