//
// cocos2d::CCSprite::setAnchorPoint from 0xd88214 to 0xd88288 (116 bytes)
//
// 82 xrefs:
// > ??> @ 0xda740
// > ??> @ 0x1413708
// > ??> @ 0x1413cc8
// > ??> @ 0x1414a78
// > ??> @ 0x14172e8
// > ??> @ 0x1417888
// > ??> @ 0x141b1a8
// > ??> @ 0x141b7d8
// > ??> @ 0x141cc58
// > ??> @ 0x1421888
// > ??> @ 0x1421e38
// > ??> @ 0x14237f8
// > ??> @ 0x1423da8
// > ??> @ 0x1424378
// > ??> @ 0x1428d58
// > ??> @ 0x14333c8
// > ??> @ 0x1433bc8
// > ??> @ 0x14341b8
// > ??> @ 0x1434998
// > ??> @ 0x14351a8
// > ??> @ 0x143a138
// > ??> @ 0x1443508
// > ??> @ 0x1443d18
// > ??> @ 0x1444528
// > ??> @ 0x1444d38
// > ??> @ 0x1445548
// > ??> @ 0x1445d58
// > ??> @ 0x1446568
// > ??> @ 0x1446d78
// > ??> @ 0x1447558
// > ??> @ 0x1447d68
// > ??> @ 0x1448578
// > ??> @ 0x1448d88
// > ??> @ 0x1449598
// > ??> @ 0x1449de8
// > ??> @ 0x144a5f8
// > ??> @ 0x144ae08
// > ??> @ 0x144b618
// > ??> @ 0x144be28
// > ??> @ 0x144c648
// > ??> @ 0x144ce58
// > ??> @ 0x144d668
// > ??> @ 0x144de78
// > ??> @ 0x144e688
// > ??> @ 0x144ee98
// > ??> @ 0x144f6a8
// > ??> @ 0x144feb8
// > ??> @ 0x14506c8
// > ??> @ 0x1450ed8
// > ??> @ 0x14516e8
// > ??> @ 0x1451ef8
// > ??> @ 0x1452708
// > ??> @ 0x1452f18
// > ??> @ 0x1453728
// > ??> @ 0x1453f38
// > ??> @ 0x1454748
// > ??> @ 0x1454f58
// > ??> @ 0x1455768
// > ??> @ 0x1455f78
// > ??> @ 0x1456788
// > ??> @ 0x1456f98
// > ??> @ 0x14577a8
// > ??> @ 0x1457fb8
// > ??> @ 0x14587c8
// > ??> @ 0x1458ff8
// > ??> @ 0x145aee8
// > ??> @ 0x145b488
// > ??> @ 0x1477578
// > ??> @ 0x1479628
// > ??> @ 0x1486a88
// > ??> @ 0x1487038
// > ??> @ 0x1491968
// > ??> @ 0x1496da8
// > ??> @ 0x14992f8
// > ??> @ 0x14c1c28
// > ??> @ 0x14d9628
// > ??> @ 0x150ca48
// > ??> @ 0x1517908
// > ??> @ 0x1517ea8
// > ??> @ 0x1518a28
// > ??> @ 0x152e488
// > ??> @ 0x152fc88
//
// 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:08:14 +0000
//
__int64 __fastcall cocos2d::CCSprite::setAnchorPoint(cocos2d::CCSprite *this, const cocos2d::CCPoint *a2)
{
__int64 result; // x0
__int64 v4; // x2
cocos2d::CCNode::setAnchorPoint(this, a2);
result = *((_QWORD *)this + 46);
if ( result )
{
result = *((unsigned __int8 *)this + 377);
if ( !*((_BYTE *)this + 377) )
{
v4 = *(_QWORD *)this;
*((_BYTE *)this + 377) = 1;
(*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v4 + 1200))(this, 1);
result = *((unsigned __int8 *)this + 378);
if ( *((_BYTE *)this + 378) )
return (*(__int64 (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1232LL))(this, 1);
}
}
return result;
}