{"type": "func", "start": 9587224, "end": 9587336, "name": "GJPFollowCommandLayer::onUpdateGroupID", "pseudocode": "// \n// GJPFollowCommandLayer::onUpdateGroupID from 0x924a18 to 0x924a88 (112 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x682b0\n// > GJPFollowCommandLayer::init @ 0x923a28\n// > <???> @ 0x122b600\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 GJPFollowCommandLayer::onUpdateGroupID(GJPFollowCommandLayer *a1, cocos2d::CCObject *a2)\n{\n  int v3; // w0\n  int m_targetGroupID; // w1\n  int v5; // w1\n\n  v3 = a2->getTag(a2);\n  m_targetGroupID = a1->m_targetGroupID;\n  if ( v3 == 1 )\n    v5 = m_targetGroupID + 1;\n  else\n    v5 = m_targetGroupID - 1;\n  if ( v5 <= 0 )\n    v5 = 1;\n  if ( v5 > 9999 )\n    v5 = 9999;\n  a1->m_targetGroupID = v5;\n  GJPFollowCommandLayer::updateTargetGroupID(a1);\n  SetupTriggerPopup::updateEditorLabel(a1);\n  GJPFollowCommandLayer::updateTextInputLabel(a1);\n}", "assembly": "; \n; GJPFollowCommandLayer::onUpdateGroupID from 0x924a18 to 0x924a88 (112 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x682b0\n; > GJPFollowCommandLayer::init @ 0x923a28\n; > <???> @ 0x122b600\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x924a18\nMOV             X29, SP                                                ; +0x4, 0x924a1c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x924a20\nMOV             X19, X0                                                ; +0xc, 0x924a24\nMOV             X0, X1                                                 ; +0x10, 0x924a28\nLDR             X1, [X1]                                               ; +0x14, 0x924a2c\nLDR             X1, [X1,#0x40]                                         ; +0x18, 0x924a30\nBLR             X1                                                     ; +0x1c, 0x924a34\nCMP             W0, #1                                                 ; +0x20, 0x924a38\nLDR             W1, [X19,#0x428]                                       ; +0x24, 0x924a3c\nB.EQ            loc_924A80                                             ; +0x28, 0x924a40\nSUB             W1, W1, #1                                             ; +0x2c, 0x924a44\nCMP             W1, WZR                                                ; +0x30, 0x924a48\nMOV             W2, #0x270F                                            ; +0x34, 0x924a4c\nCSINC           W1, W1, WZR, GT                                        ; +0x38, 0x924a50\nMOV             X0, X19; this                                          ; +0x3c, 0x924a54\nCMP             W1, W2                                                 ; +0x40, 0x924a58\nCSEL            W1, W1, W2, LE                                         ; +0x44, 0x924a5c\nSTR             W1, [X19,#0x428]                                       ; +0x48, 0x924a60\nBL              _ZN21GJPFollowCommandLayer19updateTargetGroupIDEv; GJPFollowCommandLayer::updateTargetGroupID(void) ; +0x4c, 0x924a64\nMOV             X0, X19; this                                          ; +0x50, 0x924a68\nBL              _ZN17SetupTriggerPopup17updateEditorLabelEv; SetupTriggerPopup::updateEditorLabel(void) ; +0x54, 0x924a6c\nMOV             X0, X19; this                                          ; +0x58, 0x924a70\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x924a74\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x924a78\nB               _ZN21GJPFollowCommandLayer20updateTextInputLabelEv; GJPFollowCommandLayer::updateTextInputLabel(void) ; +0x64, 0x924a7c\nADD             W1, W1, #1                                             ; +0x68, 0x924a80\nB               loc_924A48                                             ; +0x6c, 0x924a84", "xrefs": ["<???> @ 0x682b0", "GJPFollowCommandLayer::init @ 0x923a28", "<???> @ 0x122b600"], "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"}