{"type": "func", "start": 4297646548, "end": 4297646776, "name": "GJBaseGameLayer::removeGroupParent", "pseudocode": "// \n// GJBaseGameLayer::removeGroupParent from 0x10028e1d4 to 0x10028e2b8 (228 bytes)\n// \n// 3 xrefs:\n// > sub_100042BA8 @ 0x100042c08\n// > sub_100042BA8 @ 0x100042c58\n// > GJBaseGameLayer::removeFromGroup @ 0x10028e17c\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\nvoid __fastcall GJBaseGameLayer::removeGroupParent(__int64 a1, __int64 a2, int a3)\n{\n  __int64 v6; // x22\n  __int64 v7; // x0\n  __int64 v8; // x23\n  __int64 v9; // x0\n  __int64 v10; // x21\n  __int64 v11; // x22\n\n  if ( a2 )\n  {\n    v6 = a3;\n    cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 3688), a3);\n    if ( v7 )\n    {\n      v8 = v7;\n      sub_1002E765C(v7, a2, 1);\n      if ( !(unsigned int)sub_1002E757C(v8) )\n        cocos2d::CCDictionary::removeObjectForKey_1(*(_QWORD *)(a1 + 3688), v6);\n    }\n    cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 3696), *(unsigned int *)(a2 + 916));\n    if ( !v9 )\n      goto LABEL_13;\n    v10 = v9;\n    if ( (unsigned int)sub_1002E757C(v9) )\n    {\n      v11 = 0;\n      while ( *(_DWORD *)(sub_1002E75A0(v10, v11) + 56) != a3 )\n      {\n        v11 = (unsigned int)(v11 + 1);\n        if ( (unsigned int)v11 >= (unsigned int)sub_1002E757C(v10) )\n          goto LABEL_12;\n      }\n      sub_1002E7664(v10, v11, 1);\n    }\nLABEL_12:\n    if ( !(unsigned int)sub_1002E757C(v10) )\nLABEL_13:\n      *(_BYTE *)(a2 + 1170) = 0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::removeGroupParent from 0x10028e1d4 to 0x10028e2b8 (228 bytes)\n; \n; 3 xrefs:\n; > sub_100042BA8 @ 0x100042c08\n; > sub_100042BA8 @ 0x100042c58\n; > GJBaseGameLayer::removeFromGroup @ 0x10028e17c\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; \nCBZ             X1, locret_10028E2B4                                   ; +0x0, 0x10028e1d4\nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x4, 0x10028e1d8\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x8, 0x10028e1dc\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0xc, 0x10028e1e0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x10, 0x10028e1e4\nADD             X29, SP, #0x30                                         ; +0x14, 0x10028e1e8\nMOV             X20, X2                                                ; +0x18, 0x10028e1ec\nMOV             X19, X1                                                ; +0x1c, 0x10028e1f0\nMOV             X21, X0                                                ; +0x20, 0x10028e1f4\nLDR             X0, [X0,#0xE68]                                        ; +0x24, 0x10028e1f8\nSXTW            X22, W20                                               ; +0x28, 0x10028e1fc\nMOV             X1, X22                                                ; +0x2c, 0x10028e200\nBL              cocos2d__CCDictionary__objectForKey_1                  ; +0x30, 0x10028e204\nCBZ             X0, loc_10028E234                                      ; +0x34, 0x10028e208\nMOV             X23, X0                                                ; +0x38, 0x10028e20c\nMOV             X1, X19                                                ; +0x3c, 0x10028e210\nMOV             W2, #1                                                 ; +0x40, 0x10028e214\nBL              sub_1002E765C                                          ; +0x44, 0x10028e218\nMOV             X0, X23                                                ; +0x48, 0x10028e21c\nBL              sub_1002E757C                                          ; +0x4c, 0x10028e220\nCBNZ            W0, loc_10028E234                                      ; +0x50, 0x10028e224\nLDR             X0, [X21,#0xE68]                                       ; +0x54, 0x10028e228\nMOV             X1, X22                                                ; +0x58, 0x10028e22c\nBL              cocos2d__CCDictionary__removeObjectForKey_1            ; +0x5c, 0x10028e230\nLDR             X0, [X21,#0xE70]                                       ; +0x60, 0x10028e234\nLDR             W1, [X19,#0x394]                                       ; +0x64, 0x10028e238\nBL              cocos2d__CCDictionary__objectForKey_1                  ; +0x68, 0x10028e23c\nCBZ             X0, loc_10028E2A0                                      ; +0x6c, 0x10028e240\nMOV             X21, X0                                                ; +0x70, 0x10028e244\nBL              sub_1002E757C                                          ; +0x74, 0x10028e248\nCBZ             W0, loc_10028E294                                      ; +0x78, 0x10028e24c\nMOV             W22, #0                                                ; +0x7c, 0x10028e250\nMOV             X0, X21                                                ; +0x80, 0x10028e254\nMOV             X1, X22                                                ; +0x84, 0x10028e258\nBL              sub_1002E75A0                                          ; +0x88, 0x10028e25c\nLDR             W8, [X0,#0x38]                                         ; +0x8c, 0x10028e260\nCMP             W8, W20                                                ; +0x90, 0x10028e264\nB.EQ            loc_10028E284                                          ; +0x94, 0x10028e268\nADD             W22, W22, #1                                           ; +0x98, 0x10028e26c\nMOV             X0, X21                                                ; +0x9c, 0x10028e270\nBL              sub_1002E757C                                          ; +0xa0, 0x10028e274\nCMP             W22, W0                                                ; +0xa4, 0x10028e278\nB.CC            loc_10028E254                                          ; +0xa8, 0x10028e27c\nB               loc_10028E294                                          ; +0xac, 0x10028e280\nMOV             X0, X21                                                ; +0xb0, 0x10028e284\nMOV             X1, X22                                                ; +0xb4, 0x10028e288\nMOV             W2, #1                                                 ; +0xb8, 0x10028e28c\nBL              sub_1002E7664                                          ; +0xbc, 0x10028e290\nMOV             X0, X21                                                ; +0xc0, 0x10028e294\nBL              sub_1002E757C                                          ; +0xc4, 0x10028e298\nCBNZ            W0, loc_10028E2A4                                      ; +0xc8, 0x10028e29c\nSTRB            WZR, [X19,#0x492]                                      ; +0xcc, 0x10028e2a0\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0xd0, 0x10028e2a4\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0xd4, 0x10028e2a8\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0xd8, 0x10028e2ac\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0xdc, 0x10028e2b0\nRET                                                                    ; +0xe0, 0x10028e2b4", "xrefs": ["sub_100042BA8 @ 0x100042c08", "sub_100042BA8 @ 0x100042c58", "GJBaseGameLayer::removeFromGroup @ 0x10028e17c"], "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"}