// // SpriteAnimationManager::runQueuedAnimation from 0x100723f90 to 0x1007240bd (301 bytes) // // 1 xrefs: // > SpriteAnimationManager::finishAnimation @ 0x1007243f5 // // 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::runQueuedAnimation(SpriteAnimationManager *a1) { __m128 v1; // xmm0 std::array *p_shortStorage; // r14 std::size_t size; // rcx size_t v4; // rdx size_t v5; // rax std::string::size_type v6; // r15 char *data; // r12 size_t v8; // r13 _QWORD __s2[2]; // [rsp+9h] [rbp-57h] BYREF std::string __dst[2]; // [rsp+20h] [rbp-40h] BYREF strcpy((char *)__s2, "not_used"); p_shortStorage = &a1->m_queuedAnimation.m_data.m_short.shortStorage; size = a1->m_queuedAnimation.m_data.m_short.sizex2 >> 1; if ( (a1->m_queuedAnimation.m_data.m_short.sizex2 & 1) != 0 ) { p_shortStorage = (std::array *)a1->m_queuedAnimation.m_data.m_long.longStorage; size = a1->m_queuedAnimation.m_data.m_long.size; } v4 = 8; if ( size < 8 ) v4 = size; if ( ((size == 8) & (memcmp(p_shortStorage, __s2, v4) == 0)) == 0 ) { v5 = strlen(p_shortStorage->__elems_); if ( v5 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(*(double *)v1.i64); v6 = v5; if ( v5 >= 0x17 ) { v8 = 26; if ( (v5 | 7) != 0x17 ) v8 = (v5 | 7) + 1; data = (char *)operator new(v8); __dst[0].__r_.__value_.__r.__words[2] = (std::string::size_type)data; __dst[0].__r_.__value_.__r.__words[0] = v8 + 1; __dst[0].__r_.__value_.__l.__size_ = v6; } else { __dst[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v5); data = __dst[0].__r_.__value_.__s.__data_; if ( !v5 ) goto LABEL_14; } memmove(data, p_shortStorage, v6); LABEL_14: data[v6] = 0; SpriteAnimationManager::executeAnimation((__int64)a1, __dst, v1); if ( (*(_BYTE *)&__dst[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst[0].__r_.__value_.__l.__data_); std::string::assign((std::string *)&a1->m_queuedAnimation, "not_used"); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source