// // sub_1001C6BE0 from 0x1001c6be0 to 0x1001c6c87 (167 bytes) // // 1 xrefs: // > @ 0x1008c6000 // // 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 // unsigned int *__fastcall sub_1001C6BE0(__int64 a1, int a2) { int v3; // eax bool v4; // zf GameObject *v5; // rdi unsigned int v6; // ebx __int64 v7; // rdi unsigned int *result; // rax _QWORD *v9; // r14 unsigned __int64 v10; // r15 v3 = (int)(float)((float)a2 * 0.5); v4 = *(_BYTE *)(a1 + 1544) == 0; v5 = (GameObject *)(a1 - 320); if ( v4 ) LOBYTE(v3) = a2; v6 = (unsigned __int8)v3; GameObject::setOpacity(v5, v3); v7 = *(_QWORD *)(a1 + 1504); if ( v7 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 1008LL))(v7, *(unsigned __int8 *)(a1 + 9)); result = *(unsigned int **)(a1 + 1520); if ( result ) { result = *((unsigned int **)result + 7); if ( *result ) { v9 = *((_QWORD **)result + 2); v10 = (unsigned __int64)&v9[*result - 1]; do { if ( !*v9 ) break; result = (unsigned int *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v9 + 896LL))(*v9, v6); ++v9; } while ( (unsigned __int64)v9 <= v10 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source