//
// PlayerObject::updatePlayerScale from 0x1404fe7c0 to 0x1404fe837 (119 bytes)
//
// 8 xrefs:
// > PlayerObject::flipGravity @ 0x1404f85c1
// > PlayerObject::toggleFlyMode @ 0x1404f8a6a
// > PlayerObject::toggleBirdMode @ 0x1404f8d74
// > PlayerObject::toggleDartMode @ 0x1404f9391
// > PlayerObject::resetPlayerIcon @ 0x1404f978d
// > PlayerObject::toggleRobotMode @ 0x1404f9c21
// > PlayerObject::toggleSpiderMode @ 0x1404f9fe4
// > ??> @ 0x14092a62c
//
// 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:33:23 +0000
//
__int64 __fastcall PlayerObject::updatePlayerScale(_QWORD *a1)
{
__int64 v1; // rdi
struct cocos2d::CCObject *v3; // rax
v1 = a1[391];
v3 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v1 + 320), 6);
if ( v3 )
{
(*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v3 + 88LL))(v3);
cocos2d::CCDictionary::removeObjectForKey(*(cocos2d::CCDictionary **)(v1 + 320), 6);
}
(*(void (__fastcall **)(_QWORD *))(*a1 + 120LL))(a1);
return (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 136LL))(a1);
}