//
// PlayerObject::playingEndEffect from 0x100407840 to 0x100407898 (88 bytes)
//
// 6 xrefs:
// > PlayLayer::playEndAnimationToPos @ 0x100083997
// > PlayLayer::playEndAnimationToPos @ 0x100083b61
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x100083eac
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x100083ee2
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x100084191
// > PlayLayer::playPlatformerEndAnimationToPos @ 0x1000841e2
//
// 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 12:30:05 +0000
//
void __fastcall PlayerObject::playingEndEffect(__int64 a1)
{
std::string *v1; // rdi
std::string v2; // [rsp+0h] [rbp-20h] BYREF
if ( *(_BYTE *)(a1 + 2422) == 1 )
{
v1 = *(std::string **)(a1 + 2144);
v2.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)18;
strcpy(v2.__r_.__value_.__s.__data_, "fall_loop");
CCAnimatedSprite::tweenToAnimation(v1, &v2, 0.40000001);
if ( (*(_BYTE *)&v2.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v2.__r_.__value_.__l.__data_);
}
}