// // GameObject::removeFromGroup from 0x10025d43c to 0x10025d4b8 (124 bytes) // // 48 xrefs: // > TeleportPortalObject::removeFromGroup2 @ 0x100387bc0 // > TeleportPortalObject::removeFromGroup @ 0x100387c74 // > @ 0x1007c41f0 // > @ 0x1007cfec0 // > @ 0x1007d06a8 // > @ 0x1007d0eb8 // > @ 0x1007f5728 // > @ 0x1007f5f60 // > @ 0x1007f6758 // > @ 0x1007f6f50 // > @ 0x1007f7748 // > @ 0x1007f7f40 // > @ 0x1007f8738 // > @ 0x1007f8f30 // > @ 0x1007f9718 // > @ 0x1007f9f28 // > @ 0x1007fa790 // > @ 0x1007fafa0 // > @ 0x1007fb7b0 // > @ 0x1007fbfc0 // > @ 0x1007fc7d0 // > @ 0x1007fcfe0 // > @ 0x1007fd7f0 // > @ 0x1007fe000 // > @ 0x1007fe810 // > @ 0x1007ff020 // > @ 0x1008000a0 // > @ 0x1008008c8 // > @ 0x1008010f0 // > @ 0x100801918 // > @ 0x100802140 // > @ 0x100802950 // > @ 0x100803160 // > @ 0x100803970 // > @ 0x100804180 // > @ 0x100804990 // > @ 0x1008051a0 // > @ 0x1008059b0 // > @ 0x1008061c0 // > @ 0x1008069d0 // > @ 0x1008071e0 // > @ 0x1008079f0 // > @ 0x100808200 // > @ 0x100808a10 // > @ 0x100809220 // > @ 0x100809a30 // > @ 0x10080a240 // > @ 0x100816560 // // 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 // void __fastcall GameObject::removeFromGroup(GameObject *a1, int a2) { __int64 v2; // x8 char v3; // w10 std::array *m_groups; // x9 int v5; // w11 __int64 m_groupCount; // x11 if ( a1->m_groupCount >= 1 ) { v2 = 0; v3 = 0; m_groups = a1->m_groups; while ( 1 ) { v5 = m_groups->__elems_[v2]; if ( (v3 & 1) != 0 ) { m_groups->__elems_[v2 - 1] = v5; if ( v2 != a1->m_groupCount - 1 ) goto LABEL_8; } else if ( v5 != a2 ) { v3 = 0; goto LABEL_10; } m_groups->__elems_[v2] = 0; LABEL_8: v3 = 1; LABEL_10: ++v2; m_groupCount = a1->m_groupCount; if ( v2 >= m_groupCount ) { if ( (v3 & 1) != 0 ) a1->m_groupCount = m_groupCount - 1; return; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source