{"type": "func", "start": 5371435408, "end": 5371435541, "name": "GameObject::copyGroups", "pseudocode": "// \n// GameObject::copyGroups from 0x140299990 to 0x140299a15 (133 bytes)\n// \n// 6 xrefs:\n// > PlayLayer::addObject @ 0x14050cb93\n// > PlayLayer::addObject @ 0x14050ce2a\n// > PlayLayer::addObject @ 0x14050d360\n// > <???> @ 0x1408af614\n// > <???> @ 0x1408af624\n// > <???> @ 0x14091d774\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 11:29:12 +0000\n// \n\nvoid __fastcall GameObject::copyGroups(__int64 a1, __int64 a2)\n{\n  int v4; // ebp\n  __int64 v5; // rdi\n  unsigned __int64 v6; // rbx\n  __int64 v7; // rax\n  __int64 v8; // rdx\n\n  if ( *(__int16 *)(a2 + 1176) > 0 )\n  {\n    v4 = 0;\n    v5 = 0;\n    v6 = 0;\n    do\n    {\n      if ( v6 <= 9 && (v7 = *(_QWORD *)(a2 + 1168)) != 0 )\n        v8 = (unsigned int)*(__int16 *)(v5 + v7);\n      else\n        v8 = 0;\n      (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1448LL))(a1, v8);\n      ++v4;\n      ++v6;\n      v5 += 2;\n    }\n    while ( v4 < *(__int16 *)(a2 + 1176) );\n  }\n}", "assembly": "; \n; GameObject::copyGroups from 0x140299990 to 0x140299a15 (133 bytes)\n; \n; 6 xrefs:\n; > PlayLayer::addObject @ 0x14050cb93\n; > PlayLayer::addObject @ 0x14050ce2a\n; > PlayLayer::addObject @ 0x14050d360\n; > <???> @ 0x1408af614\n; > <???> @ 0x1408af624\n; > <???> @ 0x14091d774\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 11:29:12 +0000\n; \nmov     [rsp+arg_18], rsi                                              ; +0x0, 0x140299990\npush    r14                                                            ; +0x5, 0x140299995\nsub     rsp, 20h                                                       ; +0x7, 0x140299997\ncmp     word ptr [rdx+498h], 0                                         ; +0xb, 0x14029999b\nmov     rsi, rdx                                                       ; +0x13, 0x1402999a3\nmov     r14, rcx                                                       ; +0x16, 0x1402999a6\njle     short loc_140299A09                                            ; +0x19, 0x1402999a9\nmov     [rsp+28h+arg_0], rbx                                           ; +0x1b, 0x1402999ab\nmov     [rsp+28h+arg_8], rbp                                           ; +0x20, 0x1402999b0\nxor     ebp, ebp                                                       ; +0x25, 0x1402999b5\nmov     [rsp+28h+arg_10], rdi                                          ; +0x27, 0x1402999b7\nxor     edi, edi                                                       ; +0x2c, 0x1402999bc\nxor     ebx, ebx                                                       ; +0x2e, 0x1402999be\ncmp     rbx, 9                                                         ; +0x30, 0x1402999c0\nja      short loc_1402999D8                                            ; +0x34, 0x1402999c4\nmov     rax, [rsi+490h]                                                ; +0x36, 0x1402999c6\ntest    rax, rax                                                       ; +0x3d, 0x1402999cd\njz      short loc_1402999D8                                            ; +0x40, 0x1402999d0\nmovsx   edx, word ptr [rdi+rax]                                        ; +0x42, 0x1402999d2\njmp     short loc_1402999DA                                            ; +0x46, 0x1402999d6\nxor     edx, edx                                                       ; +0x48, 0x1402999d8\nmov     rax, [r14]                                                     ; +0x4a, 0x1402999da\nmov     rcx, r14                                                       ; +0x4d, 0x1402999dd\ncall    qword ptr [rax+5A8h]                                           ; +0x50, 0x1402999e0\nmovsx   eax, word ptr [rsi+498h]                                       ; +0x56, 0x1402999e6\ninc     ebp                                                            ; +0x5d, 0x1402999ed\ninc     rbx                                                            ; +0x5f, 0x1402999ef\nadd     rdi, 2                                                         ; +0x62, 0x1402999f2\ncmp     ebp, eax                                                       ; +0x66, 0x1402999f6\njl      short loc_1402999C0                                            ; +0x68, 0x1402999f8\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x6a, 0x1402999fa\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x6f, 0x1402999ff\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x74, 0x140299a04\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x79, 0x140299a09\nadd     rsp, 20h                                                       ; +0x7e, 0x140299a0e\npop     r14                                                            ; +0x82, 0x140299a12\nretn                                                                   ; +0x84, 0x140299a14", "xrefs": ["PlayLayer::addObject @ 0x14050cb93", "PlayLayer::addObject @ 0x14050ce2a", "PlayLayer::addObject @ 0x14050d360", "<???> @ 0x1408af614", "<???> @ 0x1408af624", "<???> @ 0x14091d774"], "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"}