// // LevelEditorLayer::applyGroupState from 0x140400db0 to 0x140400e7d (205 bytes) // // 8 xrefs: // > EditorUI::onPasteState @ 0x1401c7231 // > EditorUI::onPasteState @ 0x1401c726a // > LevelEditorLayer::copyObjectState @ 0x140400d97 // > SetGroupIDLayer::onPaste @ 0x140591a7f // > SetGroupIDLayer::onPaste @ 0x140591ab8 // > @ 0x1408c6ac8 // > @ 0x1408c6ad8 // > @ 0x140925a54 // // 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 11:31:54 +0000 // void __fastcall LevelEditorLayer::applyGroupState(__int64 a1, __int64 a2, __int64 a3) { int v6; // ebp __int64 v7; // rsi unsigned __int64 v8; // rdi __int64 v9; // rax unsigned int v10; // ebx __int64 v11; // r9 GJBaseGameLayer::removeFromGroups(a1, a2); *(_WORD *)(a2 + 1176) = 0; v6 = 0; *(_DWORD *)(a2 + 1216) = 0; *(_BYTE *)(a2 + 654) = 0; if ( *(__int16 *)(a3 + 1176) > 0 ) { v7 = 0; v8 = 0; do { if ( v8 <= 9 && (v9 = *(_QWORD *)(a3 + 1168)) != 0 ) v10 = *(__int16 *)(v7 + v9); else v10 = 0; if ( (*(unsigned int (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 1448LL))(a2, v10) == 1 ) { LOBYTE(v11) = 1; (*(void (__fastcall **)(__int64, __int64, _QWORD, __int64))(*(_QWORD *)a1 + 1200LL))(a1, a2, v10, v11); } ++v6; ++v8; v7 += 2; } while ( v6 < *(__int16 *)(a3 + 1176) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source