{"type": "func", "start": 4296266128, "end": 4296266214, "name": "GJBaseGameLayer::removeFromGroups", "pseudocode": "// \n// GJBaseGameLayer::removeFromGroups from 0x10013d190 to 0x10013d1e6 (86 bytes)\n// \n// 5 xrefs:\n// > LevelEditorLayer::removeSpecial @ 0x1000e269c\n// > LevelEditorLayer::copyObjectState @ 0x1000f3a51\n// > LevelEditorLayer::applyGroupState @ 0x1000f3b07\n// > LevelEditorLayer::pasteGroupState @ 0x1000f3d56\n// > LevelEditorLayer::pasteGroupState @ 0x1000f3e2f\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 GJBaseGameLayer::removeFromGroups(GJBaseGameLayer *a1, GameObject *a2)\n{\n  int v2; // r15d\n  unsigned int GroupID; // eax\n\n  if ( a2->m_groupCount > 0 )\n  {\n    v2 = 0;\n    do\n    {\n      GroupID = GameObject::getGroupID(a2, v2);\n      ((void (__fastcall *)(GJBaseGameLayer *, GameObject *, _QWORD))a1->removeFromGroup)(a1, a2, GroupID);\n      ++v2;\n    }\n    while ( v2 < a2->m_groupCount );\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeFromGroups from 0x10013d190 to 0x10013d1e6 (86 bytes)\n; \n; 5 xrefs:\n; > LevelEditorLayer::removeSpecial @ 0x1000e269c\n; > LevelEditorLayer::copyObjectState @ 0x1000f3a51\n; > LevelEditorLayer::applyGroupState @ 0x1000f3b07\n; > LevelEditorLayer::pasteGroupState @ 0x1000f3d56\n; > LevelEditorLayer::pasteGroupState @ 0x1000f3e2f\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, 0x10013d190\njle     short locret_10013D1E5                                         ; +0x8, 0x10013d198\npush    rbp                                                            ; +0xa, 0x10013d19a\nmov     rbp, rsp                                                       ; +0xb, 0x10013d19b\npush    r15                                                            ; +0xe, 0x10013d19e\npush    r14                                                            ; +0x10, 0x10013d1a0\npush    rbx                                                            ; +0x12, 0x10013d1a2\npush    rax                                                            ; +0x13, 0x10013d1a3\nmov     rbx, rsi                                                       ; +0x14, 0x10013d1a4\nmov     r14, rdi                                                       ; +0x17, 0x10013d1a7\nxor     r15d, r15d                                                     ; +0x1a, 0x10013d1aa\nnop     dword ptr [rax]                                                ; +0x1d, 0x10013d1ad\nmov     rdi, rbx                                                       ; +0x20, 0x10013d1b0\nmov     esi, r15d                                                      ; +0x23, 0x10013d1b3\ncall    GameObject__getGroupID                                         ; +0x26, 0x10013d1b6\nmov     rcx, [r14]                                                     ; +0x2b, 0x10013d1bb\nmov     rdi, r14                                                       ; +0x2e, 0x10013d1be\nmov     rsi, rbx                                                       ; +0x31, 0x10013d1c1\nmov     edx, eax                                                       ; +0x34, 0x10013d1c4\ncall    qword ptr [rcx+518h]                                           ; +0x36, 0x10013d1c6\ninc     r15d                                                           ; +0x3c, 0x10013d1cc\nmovsx   eax, word ptr [rbx+490h]                                       ; +0x3f, 0x10013d1cf\ncmp     r15d, eax                                                      ; +0x46, 0x10013d1d6\njl      short loc_10013D1B0                                            ; +0x49, 0x10013d1d9\nadd     rsp, 8                                                         ; +0x4b, 0x10013d1db\npop     rbx                                                            ; +0x4f, 0x10013d1df\npop     r14                                                            ; +0x50, 0x10013d1e0\npop     r15                                                            ; +0x52, 0x10013d1e2\npop     rbp                                                            ; +0x54, 0x10013d1e4\nretn                                                                   ; +0x55, 0x10013d1e5", "xrefs": ["LevelEditorLayer::removeSpecial @ 0x1000e269c", "LevelEditorLayer::copyObjectState @ 0x1000f3a51", "LevelEditorLayer::applyGroupState @ 0x1000f3b07", "LevelEditorLayer::pasteGroupState @ 0x1000f3d56", "LevelEditorLayer::pasteGroupState @ 0x1000f3e2f"], "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"}