// // LevelEditorLayer::pasteGroupState from 0x1000c7ce0 to 0x1000c7e7a (410 bytes) // // 1 xrefs: // > LevelEditorLayer::pasteAttributeState @ 0x1000c7c58 // // 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:20:36 +0000 // void __fastcall LevelEditorLayer::pasteGroupState(_QWORD *a1, __int64 a2, __int64 a3) { __int64 v3; // r15 unsigned int v4; // r12d __int64 GroupID; // r13 unsigned int *v6; // rax __int64 v7; // rcx _QWORD *v8; // rax __int64 v9; // r14 __int64 v10; // r15 unsigned int v11; // r12d __int64 v12; // r13 _QWORD *v13; // [rsp+8h] [rbp-38h] unsigned __int64 v14; // [rsp+10h] [rbp-30h] v3 = a1[1765]; if ( v3 ) { if ( a2 ) { GJBaseGameLayer::removeFromGroups(a1, a2); GameObject::resetGroups(a2); GameObject::resetGroupDisabled(a2); if ( *(__int16 *)(v3 + 1168) > 0 ) { v4 = 0; do { GroupID = (unsigned int)GameObject::getGroupID(v3, v4); if ( (*(unsigned int (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 1600LL))(a2, GroupID) == 1 ) (*(void (__fastcall **)(_QWORD *, __int64, _QWORD, __int64))(*a1 + 1352LL))( a1, a2, (unsigned int)GroupID, 1); ++v4; } while ( (int)v4 < *(__int16 *)(v3 + 1168) ); } } else if ( a3 ) { v6 = *(unsigned int **)(a3 + 56); v7 = *v6; if ( *v6 ) { v8 = *((_QWORD **)v6 + 2); v14 = (unsigned __int64)&v8[v7 - 1]; do { v9 = *v8; if ( !*v8 ) break; v13 = v8; v10 = a1[1765]; GJBaseGameLayer::removeFromGroups(a1, v9); GameObject::resetGroups(v9); GameObject::resetGroupDisabled(v9); if ( *(__int16 *)(v10 + 1168) > 0 ) { v11 = 0; do { v12 = (unsigned int)GameObject::getGroupID(v10, v11); if ( (*(unsigned int (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 1600LL))(v9, v12) == 1 ) (*(void (__fastcall **)(_QWORD *, __int64, _QWORD, __int64))(*a1 + 1352LL))( a1, v9, (unsigned int)v12, 1); ++v11; } while ( (int)v11 < *(__int16 *)(v10 + 1168) ); } v8 = v13 + 1; } while ( (unsigned __int64)(v13 + 1) <= v14 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source