{"type": "func", "start": 5370399040, "end": 5370399173, "name": "GameObject::copyGroups", "pseudocode": "// \n// GameObject::copyGroups from 0x14019c940 to 0x14019c9c5 (133 bytes)\n// \n// 6 xrefs:\n// > PlayLayer::addObject @ 0x1403ae246\n// > PlayLayer::addObject @ 0x1403ae453\n// > PlayLayer::addObject @ 0x1403ae99c\n// > <???> @ 0x14067928c\n// > <???> @ 0x14067929c\n// > <???> @ 0x1406cbdf0\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 GameObject::copyGroups(GameObject *a1)\n{\n  __int64 v1; // rdx\n  __int64 v2; // rsi\n  int v4; // ebp\n  __int64 v5; // rdi\n  unsigned __int64 v6; // rbx\n  __int64 v7; // rax\n  __int64 v8; // rdx\n\n  v2 = v1;\n  if ( *(__int16 *)(v1 + 1176) > 0 )\n  {\n    v4 = 0;\n    v5 = 0;\n    v6 = 0;\n    do\n    {\n      if ( v6 <= 9 && (v7 = *(_QWORD *)(v2 + 1168)) != 0 )\n        v8 = (unsigned int)*(__int16 *)(v5 + v7);\n      else\n        v8 = 0;\n      a1->addToGroup(a1, v8);\n      ++v4;\n      ++v6;\n      v5 += 2;\n    }\n    while ( v4 < *(__int16 *)(v2 + 1176) );\n  }\n}", "assembly": "; \n; GameObject::copyGroups from 0x14019c940 to 0x14019c9c5 (133 bytes)\n; \n; 6 xrefs:\n; > PlayLayer::addObject @ 0x1403ae246\n; > PlayLayer::addObject @ 0x1403ae453\n; > PlayLayer::addObject @ 0x1403ae99c\n; > <???> @ 0x14067928c\n; > <???> @ 0x14067929c\n; > <???> @ 0x1406cbdf0\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\nmov     [rsp+arg_18], rsi                                              ; +0x0, 0x14019c940\npush    r14                                                            ; +0x5, 0x14019c945\nsub     rsp, 20h                                                       ; +0x7, 0x14019c947\ncmp     word ptr [rdx+498h], 0                                         ; +0xb, 0x14019c94b\nmov     rsi, rdx                                                       ; +0x13, 0x14019c953\nmov     r14, rcx                                                       ; +0x16, 0x14019c956\njle     short loc_14019C9B9                                            ; +0x19, 0x14019c959\nmov     [rsp+28h+arg_0], rbx                                           ; +0x1b, 0x14019c95b\nmov     [rsp+28h+arg_8], rbp                                           ; +0x20, 0x14019c960\nxor     ebp, ebp                                                       ; +0x25, 0x14019c965\nmov     [rsp+28h+arg_10], rdi                                          ; +0x27, 0x14019c967\nxor     edi, edi                                                       ; +0x2c, 0x14019c96c\nxor     ebx, ebx                                                       ; +0x2e, 0x14019c96e\ncmp     rbx, 9                                                         ; +0x30, 0x14019c970\nja      short loc_14019C988                                            ; +0x34, 0x14019c974\nmov     rax, [rsi+490h]                                                ; +0x36, 0x14019c976\ntest    rax, rax                                                       ; +0x3d, 0x14019c97d\njz      short loc_14019C988                                            ; +0x40, 0x14019c980\nmovsx   edx, word ptr [rdi+rax]                                        ; +0x42, 0x14019c982\njmp     short loc_14019C98A                                            ; +0x46, 0x14019c986\nxor     edx, edx                                                       ; +0x48, 0x14019c988\nmov     rax, [r14]                                                     ; +0x4a, 0x14019c98a\nmov     rcx, r14                                                       ; +0x4d, 0x14019c98d\ncall    qword ptr [rax+598h]                                           ; +0x50, 0x14019c990\nmovsx   eax, word ptr [rsi+498h]                                       ; +0x56, 0x14019c996\ninc     ebp                                                            ; +0x5d, 0x14019c99d\ninc     rbx                                                            ; +0x5f, 0x14019c99f\nadd     rdi, 2                                                         ; +0x62, 0x14019c9a2\ncmp     ebp, eax                                                       ; +0x66, 0x14019c9a6\njl      short loc_14019C970                                            ; +0x68, 0x14019c9a8\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x6a, 0x14019c9aa\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x6f, 0x14019c9af\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x74, 0x14019c9b4\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x79, 0x14019c9b9\nadd     rsp, 20h                                                       ; +0x7e, 0x14019c9be\npop     r14                                                            ; +0x82, 0x14019c9c2\nretn                                                                   ; +0x84, 0x14019c9c4", "xrefs": ["PlayLayer::addObject @ 0x1403ae246", "PlayLayer::addObject @ 0x1403ae453", "PlayLayer::addObject @ 0x1403ae99c", "<???> @ 0x14067928c", "<???> @ 0x14067929c", "<???> @ 0x1406cbdf0"], "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"}