{"type": "func", "start": 4297646104, "end": 4297646204, "name": "GJBaseGameLayer::getStaticGroup", "pseudocode": "// \n// GJBaseGameLayer::getStaticGroup from 0x10028e018 to 0x10028e07c (100 bytes)\n// \n// 6 xrefs:\n// > GJBaseGameLayer::addToGroup @ 0x10028df9c\n// > GJBaseGameLayer::removeFromGroup @ 0x10028e134\n// > GJBaseGameLayer::processTransformActions @ 0x100293904\n// > GJBaseGameLayer::processRotationActions @ 0x100294298\n// > GJBaseGameLayer::processMoveActions @ 0x1002947cc\n// > GJBaseGameLayer::moveObjectToStaticGroup @ 0x100296a94\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__int64 __fastcall GJBaseGameLayer::getStaticGroup(__int64 a1, int a2)\n{\n  int v2; // w8\n  __int64 v3; // x20\n  __int64 v4; // x21\n\n  if ( a2 >= 9999 )\n    v2 = 9999;\n  else\n    v2 = a2;\n  v3 = v2 & (unsigned int)~(v2 >> 31);\n  v4 = *(_QWORD *)(*(_QWORD *)(a1 + 3640) + 8LL * (unsigned int)v3);\n  if ( !v4 )\n  {\n    v4 = sub_1002E736C(a1);\n    cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 3600), v4, v3);\n    *(_QWORD *)(*(_QWORD *)(a1 + 3640) + 8 * v3) = v4;\n  }\n  return v4;\n}", "assembly": "; \n; GJBaseGameLayer::getStaticGroup from 0x10028e018 to 0x10028e07c (100 bytes)\n; \n; 6 xrefs:\n; > GJBaseGameLayer::addToGroup @ 0x10028df9c\n; > GJBaseGameLayer::removeFromGroup @ 0x10028e134\n; > GJBaseGameLayer::processTransformActions @ 0x100293904\n; > GJBaseGameLayer::processRotationActions @ 0x100294298\n; > GJBaseGameLayer::processMoveActions @ 0x1002947cc\n; > GJBaseGameLayer::moveObjectToStaticGroup @ 0x100296a94\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; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x10028e018\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10028e01c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10028e020\nADD             X29, SP, #0x20                                         ; +0xc, 0x10028e024\nMOV             W8, #0x270F                                            ; +0x10, 0x10028e028\nCMP             W1, W8                                                 ; +0x14, 0x10028e02c\nCSEL            W8, W1, W8, LT                                         ; +0x18, 0x10028e030\nBIC             W20, W8, W8,ASR#31                                     ; +0x1c, 0x10028e034\nLDR             X8, [X0,#0xE38]                                        ; +0x20, 0x10028e038\nLDR             X21, [X8,W20,UXTW#3]                                   ; +0x24, 0x10028e03c\nCBNZ            X21, loc_10028E068                                     ; +0x28, 0x10028e040\nMOV             X19, X0                                                ; +0x2c, 0x10028e044\nBL              sub_1002E736C                                          ; +0x30, 0x10028e048\nMOV             X21, X0                                                ; +0x34, 0x10028e04c\nLDR             X0, [X19,#0xE10]                                       ; +0x38, 0x10028e050\nMOV             X1, X21                                                ; +0x3c, 0x10028e054\nMOV             X2, X20                                                ; +0x40, 0x10028e058\nBL              cocos2d__CCDictionary__setObject_1                     ; +0x44, 0x10028e05c\nLDR             X8, [X19,#0xE38]                                       ; +0x48, 0x10028e060\nSTR             X21, [X8,X20,LSL#3]                                    ; +0x4c, 0x10028e064\nMOV             X0, X21                                                ; +0x50, 0x10028e068\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x10028e06c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x10028e070\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x5c, 0x10028e074\nRET                                                                    ; +0x60, 0x10028e078", "xrefs": ["GJBaseGameLayer::addToGroup @ 0x10028df9c", "GJBaseGameLayer::removeFromGroup @ 0x10028e134", "GJBaseGameLayer::processTransformActions @ 0x100293904", "GJBaseGameLayer::processRotationActions @ 0x100294298", "GJBaseGameLayer::processMoveActions @ 0x1002947cc", "GJBaseGameLayer::moveObjectToStaticGroup @ 0x100296a94"], "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"}