{"type": "func", "start": 4297650264, "end": 4297650404, "name": "GJBaseGameLayer::removeFromStickyGroup", "pseudocode": "// \n// GJBaseGameLayer::removeFromStickyGroup from 0x10028f058 to 0x10028f0e4 (140 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::removeSpecial @ 0x1003fb8b0\n// \n// This function is hookable on this platform (idp: arm, 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:02:02 +0000\n// \n\n_QWORD *__fastcall GJBaseGameLayer::removeFromStickyGroup(_QWORD *result, __int64 a2)\n{\n  __int64 v3; // x1\n  _QWORD *v4; // x20\n  __int64 v5; // x0\n  int v6; // w21\n  int v7; // [xsp+0h] [xbp-30h] BYREF\n  int *v8; // [xsp+8h] [xbp-28h] BYREF\n\n  v3 = *(int *)(a2 + 872);\n  if ( (_DWORD)v3 )\n  {\n    v4 = result;\n    cocos2d::CCDictionary::objectForKey_1(result[485], v3);\n    if ( v5 )\n      sub_1002E765C(v5, a2, 1);\n    v6 = *(_DWORD *)(a2 + 872);\n    v7 = *(_DWORD *)(a2 + 916);\n    v8 = &v7;\n    result = sub_10001DBA4((unsigned __int64)(v4 + 1706), &v7, (__int64)&unk_100763014, &v8);\n    *((_DWORD *)result + 5) = v6;\n    *(_DWORD *)(a2 + 872) = 0;\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::removeFromStickyGroup from 0x10028f058 to 0x10028f0e4 (140 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::removeSpecial @ 0x1003fb8b0\n; \n; This function is hookable on this platform (idp: arm, 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:02:02 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x10028f058\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10028f05c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10028f060\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10028f064\nADD             X29, SP, #0x30                                         ; +0x10, 0x10028f068\nMOV             X19, X1                                                ; +0x14, 0x10028f06c\nLDRSW           X1, [X1,#0x368]                                        ; +0x18, 0x10028f070\nCBZ             W1, loc_10028F0D0                                      ; +0x1c, 0x10028f074\nMOV             X20, X0                                                ; +0x20, 0x10028f078\nLDR             X0, [X0,#0xF28]                                        ; +0x24, 0x10028f07c\nBL              cocos2d__CCDictionary__objectForKey_1                  ; +0x28, 0x10028f080\nCBZ             X0, loc_10028F094                                      ; +0x2c, 0x10028f084\nMOV             X1, X19                                                ; +0x30, 0x10028f088\nMOV             W2, #1                                                 ; +0x34, 0x10028f08c\nBL              sub_1002E765C                                          ; +0x38, 0x10028f090\nLDR             W21, [X19,#0x368]                                      ; +0x3c, 0x10028f094\nMOV             W8, #0x3550                                            ; +0x40, 0x10028f098\nLDR             W9, [X19,#0x394]                                       ; +0x44, 0x10028f09c\nSTR             W9, [SP,#0x30+var_30]                                  ; +0x48, 0x10028f0a0\nMOV             X9, SP                                                 ; +0x4c, 0x10028f0a4\nSTR             X9, [SP,#0x30+var_28]                                  ; +0x50, 0x10028f0a8\nADRL            X2, unk_100763014                                      ; +0x54, 0x10028f0ac\nADD             X0, X20, X8                                            ; +0x5c, 0x10028f0b4\nMOV             X1, SP                                                 ; +0x60, 0x10028f0b8\nADD             X3, SP, #0x30+var_28                                   ; +0x64, 0x10028f0bc\nADD             X4, SP, #0x30+var_29                                   ; +0x68, 0x10028f0c0\nBL              sub_10001DBA4                                          ; +0x6c, 0x10028f0c4\nSTR             W21, [X0,#0x14]                                        ; +0x70, 0x10028f0c8\nSTR             WZR, [X19,#0x368]                                      ; +0x74, 0x10028f0cc\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x78, 0x10028f0d0\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x7c, 0x10028f0d4\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x80, 0x10028f0d8\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x10028f0dc\nRET                                                                    ; +0x88, 0x10028f0e0", "xrefs": ["LevelEditorLayer::removeSpecial @ 0x1003fb8b0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}