{"type": "func", "start": 4296270192, "end": 4296270335, "name": "GJBaseGameLayer::removeFromStickyGroup", "pseudocode": "// \n// GJBaseGameLayer::removeFromStickyGroup from 0x10013e170 to 0x10013e1ff (143 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::removeSpecial @ 0x1000e26a7\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::removeFromStickyGroup(GJBaseGameLayer *a1, GameObject *a2)\n{\n  __m128 v2; // xmm0\n  intptr_t m_linkedGroup; // rsi\n  cocos2d::CCObject *v5; // rax\n  int v6; // r15d\n  int *p_m_uniqueID; // [rsp+8h] [rbp-28h] BYREF\n  int m_uniqueID; // [rsp+10h] [rbp-20h] BYREF\n\n  m_linkedGroup = a2->m_linkedGroup;\n  if ( m_linkedGroup )\n  {\n    v5 = cocos2d::CCDictionary::objectForKey(a1->m_linkedGroupDict, m_linkedGroup);\n    if ( v5 )\n      sub_100720220(v5, a2, 1);\n    v6 = a2->m_linkedGroup;\n    m_uniqueID = a2->m_uniqueID;\n    p_m_uniqueID = &m_uniqueID;\n    *((_DWORD *)sub_100105AF0((float *)&a1->m_stickyGroups, &m_uniqueID, v2, (__int64)&unk_100816AE0, &p_m_uniqueID) + 5) = v6;\n    a2->m_linkedGroup = 0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeFromStickyGroup from 0x10013e170 to 0x10013e1ff (143 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::removeSpecial @ 0x1000e26a7\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\npush    rbp                                                            ; +0x0, 0x10013e170\nmov     rbp, rsp                                                       ; +0x1, 0x10013e171\npush    r15                                                            ; +0x4, 0x10013e174\npush    r14                                                            ; +0x6, 0x10013e176\npush    rbx                                                            ; +0x8, 0x10013e178\nsub     rsp, 18h                                                       ; +0x9, 0x10013e179\nmov     rbx, rsi                                                       ; +0xd, 0x10013e17d\nmovsxd  rsi, dword ptr [rsi+368h]                                      ; +0x10, 0x10013e180\ntest    rsi, rsi                                                       ; +0x17, 0x10013e187\njz      short loc_10013E1F4                                            ; +0x1a, 0x10013e18a\nmov     r14, rdi                                                       ; +0x1c, 0x10013e18c\nmov     rdi, [rdi+0E90h]                                               ; +0x1f, 0x10013e18f\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x26, 0x10013e196\ntest    rax, rax                                                       ; +0x2b, 0x10013e19b\njz      short loc_10013E1B0                                            ; +0x2e, 0x10013e19e\nmov     rdi, rax                                                       ; +0x30, 0x10013e1a0\nmov     rsi, rbx                                                       ; +0x33, 0x10013e1a3\nmov     edx, 1                                                         ; +0x36, 0x10013e1a6\ncall    sub_100720220                                                  ; +0x3b, 0x10013e1ab\nmov     r15d, [rbx+368h]                                               ; +0x40, 0x10013e1b0\nadd     r14, 3498h                                                     ; +0x47, 0x10013e1b7\nmov     eax, [rbx+394h]                                                ; +0x4e, 0x10013e1be\nmov     [rbp+var_20], eax                                              ; +0x54, 0x10013e1c4\nlea     rsi, [rbp+var_20]                                              ; +0x57, 0x10013e1c7\nmov     [rbp+var_28], rsi                                              ; +0x5b, 0x10013e1cb\nlea     rdx, unk_100816AE0                                             ; +0x5f, 0x10013e1cf\nlea     rcx, [rbp+var_28]                                              ; +0x66, 0x10013e1d6\nlea     r8, [rbp+var_19]                                               ; +0x6a, 0x10013e1da\nmov     rdi, r14                                                       ; +0x6e, 0x10013e1de\ncall    sub_100105AF0                                                  ; +0x71, 0x10013e1e1\nmov     [rax+14h], r15d                                                ; +0x76, 0x10013e1e6\nmov     dword ptr [rbx+368h], 0                                        ; +0x7a, 0x10013e1ea\nadd     rsp, 18h                                                       ; +0x84, 0x10013e1f4\npop     rbx                                                            ; +0x88, 0x10013e1f8\npop     r14                                                            ; +0x89, 0x10013e1f9\npop     r15                                                            ; +0x8b, 0x10013e1fb\npop     rbp                                                            ; +0x8d, 0x10013e1fd\nretn                                                                   ; +0x8e, 0x10013e1fe", "xrefs": ["LevelEditorLayer::removeSpecial @ 0x1000e26a7"], "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"}