// // SpriteAnimationManager::callAnimationFinished from 0x1007241b0 to 0x100724298 (232 bytes) // // 1 xrefs: // > SpriteAnimationManager::animationFinished @ 0x100722f3f // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SpriteAnimationManager::callAnimationFinished(SpriteAnimationManager *a1) { double v1; // xmm0_8 std::string *p_m_currentAnimation; // r14 unsigned int sizex2; // eax std::size_t size; // rax std::array *longStorage; // rdi size_t v7; // rdx CCAnimatedSprite *m_sprite; // rdi char *v9; // rsi _QWORD __s2[2]; // [rsp+9h] [rbp-47h] BYREF __int128 v11; // [rsp+20h] [rbp-30h] BYREF void *__p; // [rsp+30h] [rbp-20h] p_m_currentAnimation = &a1->m_currentAnimation; strcpy((char *)__s2, "not_used"); sizex2 = a1->m_currentAnimation.m_data.m_short.sizex2; if ( (sizex2 & 1) != 0 ) { size = a1->m_currentAnimation.m_data.m_long.size; longStorage = (std::array *)a1->m_currentAnimation.m_data.m_long.longStorage; } else { size = sizex2 >> 1; longStorage = &a1->m_currentAnimation.m_data.m_short.shortStorage; } v7 = 8; if ( size < 8 ) v7 = size; if ( ((size == 8) & (memcmp(longStorage, __s2, v7) == 0)) != 0 ) p_m_currentAnimation = &a1->m_nextAnimation; if ( (p_m_currentAnimation->m_data.m_short.sizex2 & 1) != 0 ) { sub_100006B70(&v11, p_m_currentAnimation->m_data.m_long.longStorage, p_m_currentAnimation->m_data.m_long.size, v1); m_sprite = a1->m_sprite; if ( (v11 & 1) == 0 ) goto LABEL_10; } else { __p = p_m_currentAnimation->m_data.m_long.longStorage; v11 = *(_OWORD *)&p_m_currentAnimation->m_data.m_short.sizex2; m_sprite = a1->m_sprite; if ( (v11 & 1) == 0 ) { LABEL_10: v9 = (char *)&v11 + 1; goto LABEL_13; } } v9 = (char *)__p; LABEL_13: ((void (__fastcall *)(CCAnimatedSprite *, char *))m_sprite->animationFinished)(m_sprite, v9); if ( (v11 & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source