{"type": "func", "start": 4297008448, "end": 4297008548, "name": "GJBaseGameLayer::getStaticGroup", "pseudocode": "// \n// GJBaseGameLayer::getStaticGroup from 0x1001f2540 to 0x1001f25a4 (100 bytes)\n// \n// 6 xrefs:\n// > GJBaseGameLayer::addToGroup @ 0x1001f24c4\n// > GJBaseGameLayer::removeFromGroup @ 0x1001f265c\n// > GJBaseGameLayer::processTransformActions @ 0x1001f7660\n// > GJBaseGameLayer::processRotationActions @ 0x1001f7ff4\n// > GJBaseGameLayer::processMoveActions @ 0x1001f8528\n// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x1001fa834\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\ncocos2d::CCArray *__fastcall GJBaseGameLayer::getStaticGroup(GJBaseGameLayer *a1, int a2)\n{\n  int v2; // w8\n  intptr_t v3; // x20\n  cocos2d::CCArray *v4; // x21\n\n  if ( a2 >= 9999 )\n    v2 = 9999;\n  else\n    v2 = a2;\n  v3 = v2 & (unsigned int)~(v2 >> 31);\n  v4 = a1->m_staticGroups.__begin_[(unsigned int)v3];\n  if ( !v4 )\n  {\n    v4 = (cocos2d::CCArray *)sub_10024A15C(a1);\n    cocos2d::CCDictionary::setObject(a1->m_staticGroupDict, v4, v3);\n    a1->m_staticGroups.__begin_[v3] = v4;\n  }\n  return v4;\n}", "assembly": "; \n; GJBaseGameLayer::getStaticGroup from 0x1001f2540 to 0x1001f25a4 (100 bytes)\n; \n; 6 xrefs:\n; > GJBaseGameLayer::addToGroup @ 0x1001f24c4\n; > GJBaseGameLayer::removeFromGroup @ 0x1001f265c\n; > GJBaseGameLayer::processTransformActions @ 0x1001f7660\n; > GJBaseGameLayer::processRotationActions @ 0x1001f7ff4\n; > GJBaseGameLayer::processMoveActions @ 0x1001f8528\n; > GJBaseGameLayer::moveObjectToStaticGroup @ 0x1001fa834\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1001f2540\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001f2544\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001f2548\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001f254c\nMOV             W8, #0x270F                                            ; +0x10, 0x1001f2550\nCMP             W1, W8                                                 ; +0x14, 0x1001f2554\nCSEL            W8, W1, W8, LT                                         ; +0x18, 0x1001f2558\nBIC             W20, W8, W8,ASR#31                                     ; +0x1c, 0x1001f255c\nLDR             X8, [X0,#0xE40]                                        ; +0x20, 0x1001f2560\nLDR             X21, [X8,W20,UXTW#3]                                   ; +0x24, 0x1001f2564\nCBNZ            X21, loc_1001F2590                                     ; +0x28, 0x1001f2568\nMOV             X19, X0                                                ; +0x2c, 0x1001f256c\nBL              sub_10024A15C                                          ; +0x30, 0x1001f2570\nMOV             X21, X0                                                ; +0x34, 0x1001f2574\nLDR             X0, [X19,#0xE18]                                       ; +0x38, 0x1001f2578\nMOV             X1, X21                                                ; +0x3c, 0x1001f257c\nMOV             X2, X20                                                ; +0x40, 0x1001f2580\nBL              cocos2d__CCDictionary__setObject                       ; +0x44, 0x1001f2584\nLDR             X8, [X19,#0xE40]                                       ; +0x48, 0x1001f2588\nSTR             X21, [X8,X20,LSL#3]                                    ; +0x4c, 0x1001f258c\nMOV             X0, X21                                                ; +0x50, 0x1001f2590\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x1001f2594\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x1001f2598\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0x1001f259c\nRET                                                                    ; +0x60, 0x1001f25a0", "xrefs": ["GJBaseGameLayer::addToGroup @ 0x1001f24c4", "GJBaseGameLayer::removeFromGroup @ 0x1001f265c", "GJBaseGameLayer::processTransformActions @ 0x1001f7660", "GJBaseGameLayer::processRotationActions @ 0x1001f7ff4", "GJBaseGameLayer::processMoveActions @ 0x1001f8528", "GJBaseGameLayer::moveObjectToStaticGroup @ 0x1001fa834"], "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"}