{"type": "func", "start": 4301847808, "end": 4301847909, "name": "GameObject::copyGroups", "pseudocode": "// \n// GameObject::copyGroups from 0x10068fd00 to 0x10068fd65 (101 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::addObject @ 0x10007f843\n// > PlayLayer::addObject @ 0x10007f9db\n// > PlayLayer::addObject @ 0x10007ff51\n// > LevelEditorLayer::addSpecial @ 0x1000af6cd\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\n__int64 __fastcall GameObject::copyGroups(__int64 a1, __int64 a2)\n{\n  __int64 v2; // r15\n  __int64 result; // rax\n\n  if ( *(__int16 *)(a2 + 1168) > 0 )\n  {\n    v2 = 0;\n    do\n    {\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1600LL))(a1);\n      ++v2;\n      result = *(__int16 *)(a2 + 1168);\n    }\n    while ( v2 < result );\n  }\n  return result;\n}", "assembly": "; \n; GameObject::copyGroups from 0x10068fd00 to 0x10068fd65 (101 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::addObject @ 0x10007f843\n; > PlayLayer::addObject @ 0x10007f9db\n; > PlayLayer::addObject @ 0x10007ff51\n; > LevelEditorLayer::addSpecial @ 0x1000af6cd\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; \ncmp     word ptr [rsi+490h], 0                                         ; +0x0, 0x10068fd00\njle     short locret_10068FD64                                         ; +0x8, 0x10068fd08\npush    rbp                                                            ; +0xa, 0x10068fd0a\nmov     rbp, rsp                                                       ; +0xb, 0x10068fd0b\npush    r15                                                            ; +0xe, 0x10068fd0e\npush    r14                                                            ; +0x10, 0x10068fd10\npush    rbx                                                            ; +0x12, 0x10068fd12\npush    rax                                                            ; +0x13, 0x10068fd13\nmov     rbx, rsi                                                       ; +0x14, 0x10068fd14\nmov     r14, rdi                                                       ; +0x17, 0x10068fd17\nxor     r15d, r15d                                                     ; +0x1a, 0x10068fd1a\njmp     short loc_10068FD3C                                            ; +0x1d, 0x10068fd1d\nalign 20h                                                              ; +0x1f, 0x10068fd1f\nmov     rax, [r14]                                                     ; +0x20, 0x10068fd20\nmov     rdi, r14                                                       ; +0x23, 0x10068fd23\ncall    qword ptr [rax+640h]                                           ; +0x26, 0x10068fd26\ninc     r15                                                            ; +0x2c, 0x10068fd2c\nmovsx   rax, word ptr [rbx+490h]                                       ; +0x2f, 0x10068fd2f\ncmp     r15, rax                                                       ; +0x37, 0x10068fd37\njge     short loc_10068FD5A                                            ; +0x3a, 0x10068fd3a\nmov     esi, 0                                                         ; +0x3c, 0x10068fd3c\ncmp     r15, 9                                                         ; +0x41, 0x10068fd41\nja      short loc_10068FD20                                            ; +0x45, 0x10068fd45\nmov     rax, [rbx+488h]                                                ; +0x47, 0x10068fd47\ntest    rax, rax                                                       ; +0x4e, 0x10068fd4e\njz      short loc_10068FD20                                            ; +0x51, 0x10068fd51\nmovsx   esi, word ptr [rax+r15*2]                                      ; +0x53, 0x10068fd53\njmp     short loc_10068FD20                                            ; +0x58, 0x10068fd58\nadd     rsp, 8                                                         ; +0x5a, 0x10068fd5a\npop     rbx                                                            ; +0x5e, 0x10068fd5e\npop     r14                                                            ; +0x5f, 0x10068fd5f\npop     r15                                                            ; +0x61, 0x10068fd61\npop     rbp                                                            ; +0x63, 0x10068fd63\nretn                                                                   ; +0x64, 0x10068fd64", "xrefs": ["PlayLayer::addObject @ 0x10007f843", "PlayLayer::addObject @ 0x10007f9db", "PlayLayer::addObject @ 0x10007ff51", "LevelEditorLayer::addSpecial @ 0x1000af6cd"], "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"}