{"type": "func", "start": 4296242196, "end": 4296242288, "name": "GJFollowCommandLayer::onUpdateGroupID2", "pseudocode": "// \n// GJFollowCommandLayer::onUpdateGroupID2 from 0x100137414 to 0x100137470 (92 bytes)\n// \n// 1 xrefs:\n// > GJFollowCommandLayer::init @ 0x100136d10\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\nvoid __fastcall GJFollowCommandLayer::onUpdateGroupID2(GJFollowCommandLayer *a1, cocos2d::CCObject *a2)\n{\n  int v3; // w9\n  int v4; // w8\n\n  if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1 )\n    v3 = 1;\n  else\n    v3 = -1;\n  v4 = (a1->m_followGroupID + v3) & ~((a1->m_followGroupID + v3) >> 31);\n  if ( v4 >= 9999 )\n    v4 = 9999;\n  a1->m_followGroupID = v4;\n  GJFollowCommandLayer::updateTargetGroupID2(a1);\n  GJFollowCommandLayer::updateTextInputLabel2(a1);\n}", "assembly": "; \n; GJFollowCommandLayer::onUpdateGroupID2 from 0x100137414 to 0x100137470 (92 bytes)\n; \n; 1 xrefs:\n; > GJFollowCommandLayer::init @ 0x100136d10\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, 0x100137414\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100137418\nADD             X29, SP, #0x10                                         ; +0x8, 0x10013741c\nMOV             X19, X0                                                ; +0xc, 0x100137420\nLDR             X8, [X1]                                               ; +0x10, 0x100137424\nLDR             X8, [X8,#0x40]                                         ; +0x14, 0x100137428\nMOV             X0, X1                                                 ; +0x18, 0x10013742c\nBLR             X8                                                     ; +0x1c, 0x100137430\nLDR             W8, [X19,#0x408]                                       ; +0x20, 0x100137434\nCMP             W0, #1                                                 ; +0x24, 0x100137438\nCSINV           W9, W0, WZR, EQ                                        ; +0x28, 0x10013743c\nADD             W8, W8, W9                                             ; +0x2c, 0x100137440\nBIC             W8, W8, W8,ASR#31                                      ; +0x30, 0x100137444\nMOV             W9, #0x270F                                            ; +0x34, 0x100137448\nCMP             W8, W9                                                 ; +0x38, 0x10013744c\nCSEL            W8, W8, W9, LT                                         ; +0x3c, 0x100137450\nSTR             W8, [X19,#0x408]                                       ; +0x40, 0x100137454\nMOV             X0, X19                                                ; +0x44, 0x100137458\nBL              GJFollowCommandLayer__updateTargetGroupID2             ; +0x48, 0x10013745c\nMOV             X0, X19                                                ; +0x4c, 0x100137460\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x50, 0x100137464\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x54, 0x100137468\nB               GJFollowCommandLayer__updateTextInputLabel2            ; +0x58, 0x10013746c", "xrefs": ["GJFollowCommandLayer::init @ 0x100136d10"], "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"}