{"type": "func", "start": 4297011188, "end": 4297011328, "name": "GJBaseGameLayer::removeFromStickyGroup", "pseudocode": "// \n// GJBaseGameLayer::removeFromStickyGroup from 0x1001f2ff4 to 0x1001f3080 (140 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::removeSpecial @ 0x10035b928\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  intptr_t m_linkedGroup; // x1\n  cocos2d::CCObject *v5; // x0\n  int v6; // w21\n  int m_uniqueID; // [xsp+0h] [xbp-30h] BYREF\n  int *p_m_uniqueID; // [xsp+8h] [xbp-28h] BYREF\n\n  m_linkedGroup = a2->m_linkedGroup;\n  if ( (_DWORD)m_linkedGroup )\n  {\n    v5 = cocos2d::CCDictionary::objectForKey(a1->m_linkedGroupDict, m_linkedGroup);\n    if ( v5 )\n      sub_10024A444(v5, a2, 1);\n    v6 = a2->m_linkedGroup;\n    m_uniqueID = a2->m_uniqueID;\n    p_m_uniqueID = &m_uniqueID;\n    *((_DWORD *)sub_10001D150(\n                  (unsigned __int64)&a1->m_stickyGroups,\n                  &m_uniqueID,\n                  (__int64)&unk_10063A31C,\n                  &p_m_uniqueID)\n    + 5) = v6;\n    a2->m_linkedGroup = 0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeFromStickyGroup from 0x1001f2ff4 to 0x1001f3080 (140 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::removeSpecial @ 0x10035b928\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1001f2ff4\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x1001f2ff8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1001f2ffc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1001f3000\nADD             X29, SP, #0x30                                         ; +0x10, 0x1001f3004\nMOV             X19, X1                                                ; +0x14, 0x1001f3008\nLDRSW           X1, [X1,#0x368]                                        ; +0x18, 0x1001f300c\nCBZ             W1, loc_1001F306C                                      ; +0x1c, 0x1001f3010\nMOV             X20, X0                                                ; +0x20, 0x1001f3014\nLDR             X0, [X0,#0xEB8]                                        ; +0x24, 0x1001f3018\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x28, 0x1001f301c\nCBZ             X0, loc_1001F3030                                      ; +0x2c, 0x1001f3020\nMOV             X1, X19                                                ; +0x30, 0x1001f3024\nMOV             W2, #1                                                 ; +0x34, 0x1001f3028\nBL              sub_10024A444                                          ; +0x38, 0x1001f302c\nLDR             W21, [X19,#0x368]                                      ; +0x3c, 0x1001f3030\nMOV             W8, #0x34C8                                            ; +0x40, 0x1001f3034\nLDR             W9, [X19,#0x394]                                       ; +0x44, 0x1001f3038\nSTR             W9, [SP,#0x30+var_30]                                  ; +0x48, 0x1001f303c\nMOV             X9, SP                                                 ; +0x4c, 0x1001f3040\nSTR             X9, [SP,#0x30+var_28]                                  ; +0x50, 0x1001f3044\nADRL            X2, unk_10063A31C                                      ; +0x54, 0x1001f3048\nADD             X0, X20, X8                                            ; +0x5c, 0x1001f3050\nMOV             X1, SP                                                 ; +0x60, 0x1001f3054\nADD             X3, SP, #0x30+var_28                                   ; +0x64, 0x1001f3058\nADD             X4, SP, #0x30+var_29                                   ; +0x68, 0x1001f305c\nBL              sub_10001D150                                          ; +0x6c, 0x1001f3060\nSTR             W21, [X0,#0x14]                                        ; +0x70, 0x1001f3064\nSTR             WZR, [X19,#0x368]                                      ; +0x74, 0x1001f3068\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x78, 0x1001f306c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x7c, 0x1001f3070\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x80, 0x1001f3074\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x1001f3078\nRET                                                                    ; +0x88, 0x1001f307c", "xrefs": ["LevelEditorLayer::removeSpecial @ 0x10035b928"], "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"}