// // UILayer::resetUINodeState from 0x1004c3510 to 0x1004c35e7 (215 bytes) // // 4 xrefs: // > UILayer::handleAction @ 0x1004c3a4f // > UILayer::handleAction @ 0x1004c3eea // > UILayer::handleAction @ 0x1004c44a2 // > UILayer::handleAction @ 0x1004c48d4 // // 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:31:06 +0000 // __int64 __fastcall UILayer::resetUINodeState(__int64 a1) { __int64 result; // rax __int64 *v2; // r15 unsigned __int64 v3; // r12 __int64 v4; // r13 __int64 v5; // rdi __int64 v6; // rdi _QWORD v7[7]; // [rsp-38h] [rbp-38h] BYREF result = *(_QWORD *)(a1 + 616); if ( result ) { v7[0] = *(_QWORD *)(a1 + 616); result = *(_QWORD *)(result + 56); if ( *(_DWORD *)result ) { v2 = *(__int64 **)(result + 16); v3 = (unsigned __int64)&v2[*(unsigned int *)result - 1]; do { v4 = *v2; if ( !*v2 ) break; *(_DWORD *)(v4 + 352) = -1; *(_WORD *)(v4 + 383) = 0; v5 = *(_QWORD *)(v4 + 320); if ( v5 ) { BYTE6(v7[0]) = -1; WORD2(v7[0]) = -1; (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v5 + 960LL))(v5, (char *)v7 + 4); } result = *(unsigned __int8 *)(v4 + 381) ^ 1u; v6 = *(_QWORD *)(v4 + 8 * result + 320); if ( v6 ) { BYTE2(v7[0]) = -1; LOWORD(v7[0]) = -1; result = (*(__int64 (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v6 + 960LL))(v6, v7); } ++v2; } while ( (unsigned __int64)v2 <= v3 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source