// // SpriteAnimationManager::finishAnimation from 0x1008031e0 to 0x100803329 (329 bytes) // // 0 xrefs: // // 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 // char __fastcall SpriteAnimationManager::finishAnimation(__int64 a1, unsigned __int8 *a2, __m128 a3) { unsigned int v4; // r13d size_t v5; // r12 const void *v6; // rsi unsigned int v7; // ebx size_t v8; // rbx const void *v9; // rdi size_t v10; // r14 char v11; // r13 size_t v12; // rdx bool v13; // zf __int64 v14; // r12 size_t v15; // rax const void *v16; // rsi unsigned int v17; // ebx size_t v18; // rbx const void *v19; // rdi size_t v20; // rdx size_t v21; // r14 int v22; // eax size_t v25; // [rsp+18h] [rbp-38h] const void *v26; // [rsp+20h] [rbp-30h] v4 = *a2; v5 = *((_QWORD *)a2 + 1); v6 = *((const void **)a2 + 2); v7 = *(unsigned __int8 *)(a1 + 352); if ( (v7 & 1) != 0 ) { v8 = *(_QWORD *)(a1 + 360); v9 = *(const void **)(a1 + 368); } else { v8 = v7 >> 1; v9 = (const void *)(a1 + 353); } v10 = v4 >> 1; v11 = v4 & 1; v25 = v5; if ( !v11 ) v5 = v10; v26 = v6; if ( !v11 ) v6 = a2 + 1; v12 = v8; if ( v5 < v8 ) v12 = v5; if ( !memcmp(v9, v6, v12) ) { v13 = v5 == v8; v14 = a1; v15 = v25; v16 = v26; if ( v13 ) { std::string::assign((std::string *)(a1 + 352), "not_used"); v15 = *((_QWORD *)a2 + 1); v16 = *((const void **)a2 + 2); v11 = *a2 & 1; v10 = *a2 >> 1; } v17 = *(unsigned __int8 *)(a1 + 400); if ( (v17 & 1) != 0 ) goto LABEL_14; } else { v14 = a1; v15 = v25; v16 = v26; v17 = *(unsigned __int8 *)(a1 + 400); if ( (v17 & 1) != 0 ) { LABEL_14: v18 = *(_QWORD *)(v14 + 408); v19 = *(const void **)(v14 + 416); goto LABEL_17; } } v18 = v17 >> 1; v19 = (const void *)(v14 + 401); LABEL_17: if ( !v11 ) { v15 = v10; v16 = a2 + 1; } v20 = v18; if ( v15 < v18 ) v20 = v15; v21 = v15; v22 = memcmp(v19, v16, v20); if ( !v22 && v21 == v18 ) LOBYTE(v22) = SpriteAnimationManager::runQueuedAnimation(v14, a3); return v22; }
GD Web Decomp Icon

GD Web Decomp

Raw Source