// // SpriteAnimationManager::runQueuedAnimation from 0x100802eb0 to 0x100802fdd (301 bytes) // // 1 xrefs: // > SpriteAnimationManager::finishAnimation @ 0x100803315 // // 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:36:38 +0000 // unsigned __int8 __fastcall SpriteAnimationManager::runQueuedAnimation(__int64 a1, __m128 a2) { const void *v2; // r14 unsigned __int64 v3; // rcx size_t v4; // rdx bool v5; // r15 unsigned __int8 result; // al size_t v7; // rax std::string::size_type v8; // r15 char *data; // r12 size_t v10; // r13 _QWORD __s2[2]; // [rsp+9h] [rbp-57h] BYREF std::string __dst[2]; // [rsp+20h] [rbp-40h] BYREF strcpy((char *)__s2, "not_used"); v2 = (const void *)(a1 + 353); v3 = *(unsigned __int8 *)(a1 + 352) >> 1; if ( (*(_BYTE *)(a1 + 352) & 1) != 0 ) { v2 = *(const void **)(a1 + 368); v3 = *(_QWORD *)(a1 + 360); } v4 = 8; if ( v3 < 8 ) v4 = v3; v5 = v3 == 8; result = memcmp(v2, __s2, v4) == 0; if ( (v5 & result) == 0 ) { v7 = strlen((const char *)v2); if ( v7 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v8 = v7; if ( v7 >= 0x17 ) { v10 = 26; if ( (v7 | 7) != 0x17 ) v10 = (v7 | 7) + 1; data = (char *)operator new(v10); __dst[0].__r_.__value_.__r.__words[2] = (std::string::size_type)data; __dst[0].__r_.__value_.__r.__words[0] = v10 + 1; __dst[0].__r_.__value_.__l.__size_ = v8; } else { __dst[0].__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)(2 * v7); data = __dst[0].__r_.__value_.__s.__data_; if ( !v7 ) goto LABEL_14; } memmove(data, v2, v8); LABEL_14: data[v8] = 0; SpriteAnimationManager::executeAnimation(a1, __dst, a2); if ( (*(_BYTE *)&__dst[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(__dst[0].__r_.__value_.__l.__data_); return (unsigned __int8)std::string::assign((std::string *)(a1 + 352), "not_used"); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source