// // AnimatedGameObject::setOpacity from 0x100197a10 to 0x100197ac2 (178 bytes) // // 2 xrefs: // > sub_100197AD0 @ 0x100197adc // > @ 0x100ac7a38 // // 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:25:56 +0000 // __int64 __fastcall AnimatedGameObject::setOpacity(__int64 a1) { __int64 v2; // r14 __int64 result; // rax __int64 v4; // rdi unsigned int v5; // ebx __int64 v6; // r15 __int64 v7; // rax GameObject::setOpacity(a1); v2 = (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)a1 + 896LL))(a1); result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1464) + 912LL))(*(_QWORD *)(a1 + 1464), v2); v4 = *(_QWORD *)(a1 + 1472); if ( v4 ) { v5 = 0; if ( *(_BYTE *)(a1 + 1020) ) LOBYTE(v2) = 0; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 912LL))(v4, (unsigned __int8)v2); v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1472) + 488LL))(*(_QWORD *)(a1 + 1472)); result = sub_1007FEF90(v6); if ( (_DWORD)result ) { do { v7 = sub_1007FEFE0(v6, v5); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 912LL))(v7, (unsigned __int8)v2); ++v5; result = sub_1007FEF90(v6); } while ( v5 < (unsigned int)result ); } } return result; }