{"type": "func", "start": 4300990032, "end": 4300990133, "name": "GameObject::copyGroups", "pseudocode": "// \n// GameObject::copyGroups from 0x1005be650 to 0x1005be6b5 (101 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::addObject @ 0x1000b22c5\n// > PlayLayer::addObject @ 0x1000b244d\n// > PlayLayer::addObject @ 0x1000b29d3\n// > LevelEditorLayer::addSpecial @ 0x1000dfedd\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\nvoid __fastcall GameObject::copyGroups(GameObject *a1)\n{\n  __int64 v1; // rsi\n  __int64 v2; // r15\n\n  if ( *(__int16 *)(v1 + 1168) > 0 )\n  {\n    v2 = 0;\n    do\n    {\n      ((void (__fastcall *)(GameObject *))a1->addToGroup)(a1);\n      ++v2;\n    }\n    while ( v2 < *(__int16 *)(v1 + 1168) );\n  }\n}", "assembly": "; \n; GameObject::copyGroups from 0x1005be650 to 0x1005be6b5 (101 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::addObject @ 0x1000b22c5\n; > PlayLayer::addObject @ 0x1000b244d\n; > PlayLayer::addObject @ 0x1000b29d3\n; > LevelEditorLayer::addSpecial @ 0x1000dfedd\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\ncmp     word ptr [rsi+490h], 0                                         ; +0x0, 0x1005be650\njle     short locret_1005BE6B4                                         ; +0x8, 0x1005be658\npush    rbp                                                            ; +0xa, 0x1005be65a\nmov     rbp, rsp                                                       ; +0xb, 0x1005be65b\npush    r15                                                            ; +0xe, 0x1005be65e\npush    r14                                                            ; +0x10, 0x1005be660\npush    rbx                                                            ; +0x12, 0x1005be662\npush    rax                                                            ; +0x13, 0x1005be663\nmov     rbx, rsi                                                       ; +0x14, 0x1005be664\nmov     r14, rdi                                                       ; +0x17, 0x1005be667\nxor     r15d, r15d                                                     ; +0x1a, 0x1005be66a\njmp     short loc_1005BE68C                                            ; +0x1d, 0x1005be66d\nalign 10h                                                              ; +0x1f, 0x1005be66f\nmov     rax, [r14]                                                     ; +0x20, 0x1005be670\nmov     rdi, r14                                                       ; +0x23, 0x1005be673\ncall    qword ptr [rax+630h]                                           ; +0x26, 0x1005be676\ninc     r15                                                            ; +0x2c, 0x1005be67c\nmovsx   rax, word ptr [rbx+490h]                                       ; +0x2f, 0x1005be67f\ncmp     r15, rax                                                       ; +0x37, 0x1005be687\njge     short loc_1005BE6AA                                            ; +0x3a, 0x1005be68a\nmov     esi, 0                                                         ; +0x3c, 0x1005be68c\ncmp     r15, 9                                                         ; +0x41, 0x1005be691\nja      short loc_1005BE670                                            ; +0x45, 0x1005be695\nmov     rax, [rbx+488h]                                                ; +0x47, 0x1005be697\ntest    rax, rax                                                       ; +0x4e, 0x1005be69e\njz      short loc_1005BE670                                            ; +0x51, 0x1005be6a1\nmovsx   esi, word ptr [rax+r15*2]                                      ; +0x53, 0x1005be6a3\njmp     short loc_1005BE670                                            ; +0x58, 0x1005be6a8\nadd     rsp, 8                                                         ; +0x5a, 0x1005be6aa\npop     rbx                                                            ; +0x5e, 0x1005be6ae\npop     r14                                                            ; +0x5f, 0x1005be6af\npop     r15                                                            ; +0x61, 0x1005be6b1\npop     rbp                                                            ; +0x63, 0x1005be6b3\nretn                                                                   ; +0x64, 0x1005be6b4", "xrefs": ["PlayLayer::addObject @ 0x1000b22c5", "PlayLayer::addObject @ 0x1000b244d", "PlayLayer::addObject @ 0x1000b29d3", "LevelEditorLayer::addSpecial @ 0x1000dfedd"], "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"}