// // LevelEditorLayer::applyGroupState from 0x78d578 to 0x78d638 (192 bytes) // // 5 xrefs: // > LevelEditorLayer::pasteGroupState @ 0x78d668 // > LevelEditorLayer::pasteGroupState @ 0x78d6a4 // > LevelEditorLayer::pasteGroupState @ 0x78d6c4 // > LevelEditorLayer::copyObjectState @ 0x792c10 // > @ 0x58648 // // This function is hookable on this platform (idp: arm, 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:53:27 +0000 // __int64 __fastcall LevelEditorLayer::applyGroupState(LevelEditorLayer *this, GameObject *a2, GameObject *a3) { int v6; // w19 __int64 result; // x0 unsigned int v8; // w1 unsigned int GroupID; // w22 GJBaseGameLayer::removeFromGroups(this, a2); v6 = 0; GameObject::resetGroups((__int64)a2); GameObject::resetGroupDisabled((__int64)a2); result = (unsigned int)*((__int16 *)a3 + 584); if ( (int)result > 0 ) { do { while ( 1 ) { v8 = v6++; GroupID = GameObject::getGroupID(a3, v8); if ( (*(unsigned int (__fastcall **)(GameObject *, _QWORD))(*(_QWORD *)a2 + 1600LL))(a2, GroupID) == 1 ) break; result = (unsigned int)*((__int16 *)a3 + 584); if ( (int)result <= v6 ) return result; } (*(void (__fastcall **)(LevelEditorLayer *, GameObject *, _QWORD, __int64))(*(_QWORD *)this + 1352LL))( this, a2, GroupID, 1); result = (unsigned int)*((__int16 *)a3 + 584); } while ( (int)result > v6 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source