{"type": "func", "start": 4301847920, "end": 4301847980, "name": "GameObject::belongsToGroup", "pseudocode": "// \n// GameObject::belongsToGroup from 0x10068fd70 to 0x10068fdac (60 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::stopTriggersInGroup @ 0x1000c387e\n// > SetGroupIDLayer::onAddGroupParent @ 0x1002ffbeb\n// > EditorUI::canSelectObject @ 0x1005b88a4\n// > EditorUI::selectObjects @ 0x1005b8b31\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:07 +0000\n// \n\nbool __fastcall GameObject::belongsToGroup(__int64 a1, int a2)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rdx\n  __int64 v4; // rcx\n  __int64 v5; // rdi\n  bool result; // al\n\n  v2 = *(__int16 *)(a1 + 1168);\n  if ( v2 <= 0 )\n    return 0;\n  v3 = *(_QWORD *)(a1 + 1160);\n  v4 = v2 - 1;\n  v5 = 0;\n  do\n  {\n    result = *(__int16 *)(v3 + 2 * v5) == a2;\n    if ( *(__int16 *)(v3 + 2 * v5) == a2 )\n      break;\n  }\n  while ( v4 != v5++ );\n  return result;\n}", "assembly": "; \n; GameObject::belongsToGroup from 0x10068fd70 to 0x10068fdac (60 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::stopTriggersInGroup @ 0x1000c387e\n; > SetGroupIDLayer::onAddGroupParent @ 0x1002ffbeb\n; > EditorUI::canSelectObject @ 0x1005b88a4\n; > EditorUI::selectObjects @ 0x1005b8b31\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:07 +0000\n; \nmovsx   rcx, word ptr [rdi+490h]                                       ; +0x0, 0x10068fd70\ntest    rcx, rcx                                                       ; +0x8, 0x10068fd78\njle     short loc_10068FDA9                                            ; +0xb, 0x10068fd7b\npush    rbp                                                            ; +0xd, 0x10068fd7d\nmov     rbp, rsp                                                       ; +0xe, 0x10068fd7e\nmov     rdx, [rdi+488h]                                                ; +0x11, 0x10068fd81\ndec     rcx                                                            ; +0x18, 0x10068fd88\nxor     edi, edi                                                       ; +0x1b, 0x10068fd8b\nnop     dword ptr [rax]                                                ; +0x1d, 0x10068fd8d\nmovsx   eax, word ptr [rdx+rdi*2]                                      ; +0x20, 0x10068fd90\ncmp     eax, esi                                                       ; +0x24, 0x10068fd94\nsetz    al                                                             ; +0x26, 0x10068fd96\njz      short loc_10068FDA7                                            ; +0x29, 0x10068fd99\nlea     r8, [rdi+1]                                                    ; +0x2b, 0x10068fd9b\ncmp     rcx, rdi                                                       ; +0x2f, 0x10068fd9f\nmov     rdi, r8                                                        ; +0x32, 0x10068fda2\njnz     short loc_10068FD90                                            ; +0x35, 0x10068fda5\npop     rbp                                                            ; +0x37, 0x10068fda7\nretn                                                                   ; +0x38, 0x10068fda8\nxor     eax, eax                                                       ; +0x39, 0x10068fda9\nretn                                                                   ; +0x3b, 0x10068fdab", "xrefs": ["LevelEditorLayer::stopTriggersInGroup @ 0x1000c387e", "SetGroupIDLayer::onAddGroupParent @ 0x1002ffbeb", "EditorUI::canSelectObject @ 0x1005b88a4", "EditorUI::selectObjects @ 0x1005b8b31"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}