{"type": "func", "start": 4297009044, "end": 4297009124, "name": "GJBaseGameLayer::getSingleGroupObject", "pseudocode": "// \n// GJBaseGameLayer::getSingleGroupObject from 0x1001f2794 to 0x1001f27e4 (80 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::tryGetMainObject @ 0x1001ea7d8\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\nGameObject *__fastcall GJBaseGameLayer::getSingleGroupObject(GJBaseGameLayer *a1, int a2)\n{\n  cocos2d::CCArray *Group; // x0\n  cocos2d::CCArray *v3; // x19\n\n  if ( a2 >= 1\n    && (Group = GJBaseGameLayer::getGroup(a1, a2)) != nullptr\n    && (v3 = Group, (unsigned int)sub_10024A36C(Group) == 1) )\n  {\n    return (GameObject *)sub_10024A388(v3, 0);\n  }\n  else\n  {\n    return nullptr;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::getSingleGroupObject from 0x1001f2794 to 0x1001f27e4 (80 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::tryGetMainObject @ 0x1001ea7d8\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001f2794\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001f2798\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001f279c\nCMP             W1, #1                                                 ; +0xc, 0x1001f27a0\nB.LT            loc_1001F27D4                                          ; +0x10, 0x1001f27a4\nBL              GJBaseGameLayer__getGroup                              ; +0x14, 0x1001f27a8\nCBZ             X0, loc_1001F27D4                                      ; +0x18, 0x1001f27ac\nMOV             X19, X0                                                ; +0x1c, 0x1001f27b0\nBL              sub_10024A36C                                          ; +0x20, 0x1001f27b4\nCMP             W0, #1                                                 ; +0x24, 0x1001f27b8\nB.NE            loc_1001F27D4                                          ; +0x28, 0x1001f27bc\nMOV             X0, X19                                                ; +0x2c, 0x1001f27c0\nMOV             W1, #0                                                 ; +0x30, 0x1001f27c4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x1001f27c8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x38, 0x1001f27cc\nB               sub_10024A388                                          ; +0x3c, 0x1001f27d0\nMOV             X0, #0                                                 ; +0x40, 0x1001f27d4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x1001f27d8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x1001f27dc\nRET                                                                    ; +0x4c, 0x1001f27e0", "xrefs": ["GJBaseGameLayer::tryGetMainObject @ 0x1001ea7d8"], "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"}