{"type": "func", "start": 5372034368, "end": 5372034506, "name": "GJBaseGameLayer::removeFromGroups", "pseudocode": "// \n// GJBaseGameLayer::removeFromGroups from 0x14032bd40 to 0x14032bdca (138 bytes)\n// \n// 5 xrefs:\n// > LevelEditorLayer::removeSpecial @ 0x1403f57a6\n// > LevelEditorLayer::applyGroupState @ 0x140400dc7\n// > <???> @ 0x1408b5fb4\n// > <???> @ 0x1408b5fc4\n// > <???> @ 0x14091f208\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:30:29 +0000\n// \n\nvoid __fastcall GJBaseGameLayer::removeFromGroups(__int64 a1, __int64 a2)\n{\n  int v4; // ebp\n  __int64 v5; // rsi\n  unsigned __int64 v6; // rdi\n  __int64 v7; // rax\n  __int64 v8; // r8\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, __int64))(*(_QWORD *)a1 + 1208LL))(a1, a2, v8);\n      ++v4;\n      ++v6;\n      v5 += 2;\n    }\n    while ( v4 < *(__int16 *)(a2 + 1176) );\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeFromGroups from 0x14032bd40 to 0x14032bdca (138 bytes)\n; \n; 5 xrefs:\n; > LevelEditorLayer::removeSpecial @ 0x1403f57a6\n; > LevelEditorLayer::applyGroupState @ 0x140400dc7\n; > <???> @ 0x1408b5fb4\n; > <???> @ 0x1408b5fc4\n; > <???> @ 0x14091f208\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:30:29 +0000\n; \nmov     [rsp+arg_18], rbx                                              ; +0x0, 0x14032bd40\npush    r14                                                            ; +0x5, 0x14032bd45\nsub     rsp, 20h                                                       ; +0x7, 0x14032bd47\ncmp     word ptr [rdx+498h], 0                                         ; +0xb, 0x14032bd4b\nmov     rbx, rdx                                                       ; +0x13, 0x14032bd53\nmov     r14, rcx                                                       ; +0x16, 0x14032bd56\njle     short loc_14032BDBE                                            ; +0x19, 0x14032bd59\nmov     [rsp+28h+arg_0], rbp                                           ; +0x1b, 0x14032bd5b\nxor     ebp, ebp                                                       ; +0x20, 0x14032bd60\nmov     [rsp+28h+arg_8], rsi                                           ; +0x22, 0x14032bd62\nxor     esi, esi                                                       ; +0x27, 0x14032bd67\nmov     [rsp+28h+arg_10], rdi                                          ; +0x29, 0x14032bd69\nxor     edi, edi                                                       ; +0x2e, 0x14032bd6e\ncmp     rdi, 9                                                         ; +0x30, 0x14032bd70\nja      short loc_14032BD89                                            ; +0x34, 0x14032bd74\nmov     rax, [rbx+490h]                                                ; +0x36, 0x14032bd76\ntest    rax, rax                                                       ; +0x3d, 0x14032bd7d\njz      short loc_14032BD89                                            ; +0x40, 0x14032bd80\nmovsx   r8d, word ptr [rsi+rax]                                        ; +0x42, 0x14032bd82\njmp     short loc_14032BD8C                                            ; +0x47, 0x14032bd87\nxor     r8d, r8d                                                       ; +0x49, 0x14032bd89\nmov     rax, [r14]                                                     ; +0x4c, 0x14032bd8c\nmov     rdx, rbx                                                       ; +0x4f, 0x14032bd8f\nmov     rcx, r14                                                       ; +0x52, 0x14032bd92\ncall    qword ptr [rax+4B8h]                                           ; +0x55, 0x14032bd95\nmovsx   eax, word ptr [rbx+498h]                                       ; +0x5b, 0x14032bd9b\ninc     ebp                                                            ; +0x62, 0x14032bda2\ninc     rdi                                                            ; +0x64, 0x14032bda4\nadd     rsi, 2                                                         ; +0x67, 0x14032bda7\ncmp     ebp, eax                                                       ; +0x6b, 0x14032bdab\njl      short loc_14032BD70                                            ; +0x6d, 0x14032bdad\nmov     rdi, [rsp+28h+arg_10]                                          ; +0x6f, 0x14032bdaf\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x74, 0x14032bdb4\nmov     rbp, [rsp+28h+arg_0]                                           ; +0x79, 0x14032bdb9\nmov     rbx, [rsp+28h+arg_18]                                          ; +0x7e, 0x14032bdbe\nadd     rsp, 20h                                                       ; +0x83, 0x14032bdc3\npop     r14                                                            ; +0x87, 0x14032bdc7\nretn                                                                   ; +0x89, 0x14032bdc9", "xrefs": ["LevelEditorLayer::removeSpecial @ 0x1403f57a6", "LevelEditorLayer::applyGroupState @ 0x140400dc7", "<???> @ 0x1408b5fb4", "<???> @ 0x1408b5fc4", "<???> @ 0x14091f208"], "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"}