{"type": "func", "start": 4300990000, "end": 4300990031, "name": "GameObject::getGroupID", "pseudocode": "// \n// GameObject::getGroupID from 0x1005be630 to 0x1005be64f (31 bytes)\n// \n// 30 xrefs:\n// > EditorUI::updateObjectInfoLabel @ 0x10002f8fd\n// > EditorUI::dynamicGroupUpdate @ 0x1000447d6\n// > EditorUI::replaceGroupID @ 0x1000450b6\n// > PlayLayer::addToGroupOld @ 0x1000b6d65\n// > PlayLayer::removeFromGroupOld @ 0x1000b6e16\n// > LevelEditorLayer::addSpecial @ 0x1000dfef6\n// > LevelEditorLayer::updateVisibility @ 0x1000eb2ad\n// > LevelEditorLayer::updateVisibility @ 0x1000eb3c2\n// > LevelEditorLayer::updateVisibility @ 0x1000eb51d\n// > LevelEditorLayer::updateVisibility @ 0x1000eb612\n// > LevelEditorLayer::updateObjectColors @ 0x1000eb96d\n// > LevelEditorLayer::updateObjectColors @ 0x1000eba72\n// > LevelEditorLayer::updateObjectColors @ 0x1000ebb7d\n// > LevelEditorLayer::updateObjectColors @ 0x1000ebc82\n// > LevelEditorLayer::getNextFreeGroupID @ 0x1000ebdc6\n// > LevelEditorLayer::recreateGroups @ 0x1000f0fe6\n// > LevelEditorLayer::copyObjectState @ 0x1000f3a95\n// > LevelEditorLayer::applyGroupState @ 0x1000f3b45\n// > LevelEditorLayer::pasteGroupState @ 0x1000f3d9a\n// > LevelEditorLayer::pasteGroupState @ 0x1000f3e76\n// > sub_1000F67E0 @ 0x1000f69d6\n// > sub_1000F78E0 @ 0x1000f7952\n// > GJBaseGameLayer::optimizeMoveGroups @ 0x100118246\n// > sub_10012C210 @ 0x10012c2e6\n// > GJBaseGameLayer::addToGroups @ 0x10013cf66\n// > GJBaseGameLayer::removeFromGroups @ 0x10013d1b6\n// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x10014a6cd\n// > GJBaseGameLayer::opacityForObject @ 0x100151102\n// > SetGroupIDLayer::updateGroupIDButtons @ 0x100316297\n// > SetGroupIDLayer::updateGroupIDButtons @ 0x1003163bb\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall GameObject::getGroupID(GameObject *a1, int a2)\n{\n  int result; // eax\n  std::array<short, 10> *m_groups; // rcx\n\n  result = 0;\n  if ( (unsigned int)a2 <= 9 )\n  {\n    m_groups = a1->m_groups;\n    if ( m_groups )\n      return m_groups->__elems_[a2];\n  }\n  return result;\n}", "assembly": "; \n; GameObject::getGroupID from 0x1005be630 to 0x1005be64f (31 bytes)\n; \n; 30 xrefs:\n; > EditorUI::updateObjectInfoLabel @ 0x10002f8fd\n; > EditorUI::dynamicGroupUpdate @ 0x1000447d6\n; > EditorUI::replaceGroupID @ 0x1000450b6\n; > PlayLayer::addToGroupOld @ 0x1000b6d65\n; > PlayLayer::removeFromGroupOld @ 0x1000b6e16\n; > LevelEditorLayer::addSpecial @ 0x1000dfef6\n; > LevelEditorLayer::updateVisibility @ 0x1000eb2ad\n; > LevelEditorLayer::updateVisibility @ 0x1000eb3c2\n; > LevelEditorLayer::updateVisibility @ 0x1000eb51d\n; > LevelEditorLayer::updateVisibility @ 0x1000eb612\n; > LevelEditorLayer::updateObjectColors @ 0x1000eb96d\n; > LevelEditorLayer::updateObjectColors @ 0x1000eba72\n; > LevelEditorLayer::updateObjectColors @ 0x1000ebb7d\n; > LevelEditorLayer::updateObjectColors @ 0x1000ebc82\n; > LevelEditorLayer::getNextFreeGroupID @ 0x1000ebdc6\n; > LevelEditorLayer::recreateGroups @ 0x1000f0fe6\n; > LevelEditorLayer::copyObjectState @ 0x1000f3a95\n; > LevelEditorLayer::applyGroupState @ 0x1000f3b45\n; > LevelEditorLayer::pasteGroupState @ 0x1000f3d9a\n; > LevelEditorLayer::pasteGroupState @ 0x1000f3e76\n; > sub_1000F67E0 @ 0x1000f69d6\n; > sub_1000F78E0 @ 0x1000f7952\n; > GJBaseGameLayer::optimizeMoveGroups @ 0x100118246\n; > sub_10012C210 @ 0x10012c2e6\n; > GJBaseGameLayer::addToGroups @ 0x10013cf66\n; > GJBaseGameLayer::removeFromGroups @ 0x10013d1b6\n; > GJBaseGameLayer::moveObjectToStaticGroup @ 0x10014a6cd\n; > GJBaseGameLayer::opacityForObject @ 0x100151102\n; > SetGroupIDLayer::updateGroupIDButtons @ 0x100316297\n; > SetGroupIDLayer::updateGroupIDButtons @ 0x1003163bb\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nxor     eax, eax                                                       ; +0x0, 0x1005be630\ncmp     esi, 9                                                         ; +0x2, 0x1005be632\nja      short locret_1005BE64E                                         ; +0x5, 0x1005be635\nmov     rcx, [rdi+488h]                                                ; +0x7, 0x1005be637\ntest    rcx, rcx                                                       ; +0xe, 0x1005be63e\njz      short locret_1005BE64E                                         ; +0x11, 0x1005be641\npush    rbp                                                            ; +0x13, 0x1005be643\nmov     rbp, rsp                                                       ; +0x14, 0x1005be644\nmov     eax, esi                                                       ; +0x17, 0x1005be647\nmovsx   eax, word ptr [rcx+rax*2]                                      ; +0x19, 0x1005be649\npop     rbp                                                            ; +0x1d, 0x1005be64d\nretn                                                                   ; +0x1e, 0x1005be64e", "xrefs": ["EditorUI::updateObjectInfoLabel @ 0x10002f8fd", "EditorUI::dynamicGroupUpdate @ 0x1000447d6", "EditorUI::replaceGroupID @ 0x1000450b6", "PlayLayer::addToGroupOld @ 0x1000b6d65", "PlayLayer::removeFromGroupOld @ 0x1000b6e16", "LevelEditorLayer::addSpecial @ 0x1000dfef6", "LevelEditorLayer::updateVisibility @ 0x1000eb2ad", "LevelEditorLayer::updateVisibility @ 0x1000eb3c2", "LevelEditorLayer::updateVisibility @ 0x1000eb51d", "LevelEditorLayer::updateVisibility @ 0x1000eb612", "LevelEditorLayer::updateObjectColors @ 0x1000eb96d", "LevelEditorLayer::updateObjectColors @ 0x1000eba72", "LevelEditorLayer::updateObjectColors @ 0x1000ebb7d", "LevelEditorLayer::updateObjectColors @ 0x1000ebc82", "LevelEditorLayer::getNextFreeGroupID @ 0x1000ebdc6", "LevelEditorLayer::recreateGroups @ 0x1000f0fe6", "LevelEditorLayer::copyObjectState @ 0x1000f3a95", "LevelEditorLayer::applyGroupState @ 0x1000f3b45", "LevelEditorLayer::pasteGroupState @ 0x1000f3d9a", "LevelEditorLayer::pasteGroupState @ 0x1000f3e76", "sub_1000F67E0 @ 0x1000f69d6", "sub_1000F78E0 @ 0x1000f7952", "GJBaseGameLayer::optimizeMoveGroups @ 0x100118246", "sub_10012C210 @ 0x10012c2e6", "GJBaseGameLayer::addToGroups @ 0x10013cf66", "GJBaseGameLayer::removeFromGroups @ 0x10013d1b6", "GJBaseGameLayer::moveObjectToStaticGroup @ 0x10014a6cd", "GJBaseGameLayer::opacityForObject @ 0x100151102", "SetGroupIDLayer::updateGroupIDButtons @ 0x100316297", "SetGroupIDLayer::updateGroupIDButtons @ 0x1003163bb"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}