{"type": "func", "start": 4296242092, "end": 4296242196, "name": "GJFollowCommandLayer::onUpdateGroupID", "pseudocode": "// \n// GJFollowCommandLayer::onUpdateGroupID from 0x1001373ac to 0x100137414 (104 bytes)\n// \n// 1 xrefs:\n// > GJFollowCommandLayer::init @ 0x100136cb4\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::onUpdateGroupID(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_targetGroupID + v3;\n  if ( v4 <= 1 )\n    v4 = 1;\n  if ( v4 >= 9999 )\n    v4 = 9999;\n  a1->m_targetGroupID = v4;\n  GJFollowCommandLayer::updateTargetGroupID(a1);\n  SetupTriggerPopup::updateEditorLabel(a1);\n  GJFollowCommandLayer::updateTextInputLabel(a1);\n}", "assembly": "; \n; GJFollowCommandLayer::onUpdateGroupID from 0x1001373ac to 0x100137414 (104 bytes)\n; \n; 1 xrefs:\n; > GJFollowCommandLayer::init @ 0x100136cb4\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, 0x1001373ac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001373b0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001373b4\nMOV             X19, X0                                                ; +0xc, 0x1001373b8\nLDR             X8, [X1]                                               ; +0x10, 0x1001373bc\nLDR             X8, [X8,#0x40]                                         ; +0x14, 0x1001373c0\nMOV             X0, X1                                                 ; +0x18, 0x1001373c4\nBLR             X8                                                     ; +0x1c, 0x1001373c8\nLDR             W8, [X19,#0x3F8]                                       ; +0x20, 0x1001373cc\nCMP             W0, #1                                                 ; +0x24, 0x1001373d0\nCSINV           W9, W0, WZR, EQ                                        ; +0x28, 0x1001373d4\nADD             W8, W8, W9                                             ; +0x2c, 0x1001373d8\nCMP             W8, #1                                                 ; +0x30, 0x1001373dc\nCSINC           W8, W8, WZR, GT                                        ; +0x34, 0x1001373e0\nMOV             W9, #0x270F                                            ; +0x38, 0x1001373e4\nCMP             W8, W9                                                 ; +0x3c, 0x1001373e8\nCSEL            W8, W8, W9, LT                                         ; +0x40, 0x1001373ec\nSTR             W8, [X19,#0x3F8]                                       ; +0x44, 0x1001373f0\nMOV             X0, X19                                                ; +0x48, 0x1001373f4\nBL              GJFollowCommandLayer__updateTargetGroupID              ; +0x4c, 0x1001373f8\nMOV             X0, X19                                                ; +0x50, 0x1001373fc\nBL              SetupTriggerPopup__updateEditorLabel                   ; +0x54, 0x100137400\nMOV             X0, X19                                                ; +0x58, 0x100137404\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x100137408\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x10013740c\nB               GJFollowCommandLayer__updateTextInputLabel             ; +0x64, 0x100137410", "xrefs": ["GJFollowCommandLayer::init @ 0x100136cb4"], "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"}