{"type": "func", "start": 9575696, "end": 9575808, "name": "GJFollowCommandLayer::onUpdateGroupID", "pseudocode": "// \n// GJFollowCommandLayer::onUpdateGroupID from 0x921d10 to 0x921d80 (112 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x62550\n// > GJFollowCommandLayer::init @ 0x92190c\n// > <???> @ 0x122b2b8\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 GJFollowCommandLayer::onUpdateGroupID(GJFollowCommandLayer *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  GJFollowCommandLayer::updateTargetGroupID(a1);\n  SetupTriggerPopup::updateEditorLabel(a1);\n  GJFollowCommandLayer::updateTextInputLabel(a1);\n}", "assembly": "; \n; GJFollowCommandLayer::onUpdateGroupID from 0x921d10 to 0x921d80 (112 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x62550\n; > GJFollowCommandLayer::init @ 0x92190c\n; > <???> @ 0x122b2b8\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, 0x921d10\nMOV             X29, SP                                                ; +0x4, 0x921d14\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x921d18\nMOV             X19, X0                                                ; +0xc, 0x921d1c\nMOV             X0, X1                                                 ; +0x10, 0x921d20\nLDR             X1, [X1]                                               ; +0x14, 0x921d24\nLDR             X1, [X1,#0x40]                                         ; +0x18, 0x921d28\nBLR             X1                                                     ; +0x1c, 0x921d2c\nCMP             W0, #1                                                 ; +0x20, 0x921d30\nLDR             W1, [X19,#0x410]                                       ; +0x24, 0x921d34\nB.EQ            loc_921D78                                             ; +0x28, 0x921d38\nSUB             W1, W1, #1                                             ; +0x2c, 0x921d3c\nCMP             W1, WZR                                                ; +0x30, 0x921d40\nMOV             W2, #0x270F                                            ; +0x34, 0x921d44\nCSINC           W1, W1, WZR, GT                                        ; +0x38, 0x921d48\nMOV             X0, X19; this                                          ; +0x3c, 0x921d4c\nCMP             W1, W2                                                 ; +0x40, 0x921d50\nCSEL            W1, W1, W2, LE                                         ; +0x44, 0x921d54\nSTR             W1, [X19,#0x410]                                       ; +0x48, 0x921d58\nBL              _ZN20GJFollowCommandLayer19updateTargetGroupIDEv; GJFollowCommandLayer::updateTargetGroupID(void) ; +0x4c, 0x921d5c\nMOV             X0, X19; this                                          ; +0x50, 0x921d60\nBL              _ZN17SetupTriggerPopup17updateEditorLabelEv; SetupTriggerPopup::updateEditorLabel(void) ; +0x54, 0x921d64\nMOV             X0, X19; this                                          ; +0x58, 0x921d68\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x921d6c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x921d70\nB               _ZN20GJFollowCommandLayer20updateTextInputLabelEv; GJFollowCommandLayer::updateTextInputLabel(void) ; +0x64, 0x921d74\nADD             W1, W1, #1                                             ; +0x68, 0x921d78\nB               loc_921D40                                             ; +0x6c, 0x921d7c", "xrefs": ["<???> @ 0x62550", "GJFollowCommandLayer::init @ 0x92190c", "<???> @ 0x122b2b8"], "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"}