{"type": "func", "start": 9575936, "end": 9576040, "name": "GJFollowCommandLayer::onUpdateGroupID2", "pseudocode": "// \n// GJFollowCommandLayer::onUpdateGroupID2 from 0x921e00 to 0x921e68 (104 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xc8598\n// > GJFollowCommandLayer::init @ 0x921268\n// > <???> @ 0x122ef68\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::onUpdateGroupID2(GJFollowCommandLayer *a1, cocos2d::CCObject *a2)\n{\n  int v3; // w0\n  int m_followGroupID; // w1\n  int v5; // w1\n\n  v3 = a2->getTag(a2);\n  m_followGroupID = a1->m_followGroupID;\n  if ( v3 == 1 )\n    v5 = m_followGroupID + 1;\n  else\n    v5 = m_followGroupID - 1;\n  if ( v5 < 0 )\n    v5 = 0;\n  if ( v5 > 9999 )\n    v5 = 9999;\n  a1->m_followGroupID = v5;\n  GJFollowCommandLayer::updateTargetGroupID2(a1);\n  GJFollowCommandLayer::updateTextInputLabel2(a1);\n}", "assembly": "; \n; GJFollowCommandLayer::onUpdateGroupID2 from 0x921e00 to 0x921e68 (104 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xc8598\n; > GJFollowCommandLayer::init @ 0x921268\n; > <???> @ 0x122ef68\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, 0x921e00\nMOV             X29, SP                                                ; +0x4, 0x921e04\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x921e08\nMOV             X19, X0                                                ; +0xc, 0x921e0c\nMOV             X0, X1                                                 ; +0x10, 0x921e10\nLDR             X1, [X1]                                               ; +0x14, 0x921e14\nLDR             X1, [X1,#0x40]                                         ; +0x18, 0x921e18\nBLR             X1                                                     ; +0x1c, 0x921e1c\nCMP             W0, #1                                                 ; +0x20, 0x921e20\nLDR             W1, [X19,#0x420]                                       ; +0x24, 0x921e24\nB.EQ            loc_921E60                                             ; +0x28, 0x921e28\nSUB             W1, W1, #1                                             ; +0x2c, 0x921e2c\nCMP             W1, WZR                                                ; +0x30, 0x921e30\nMOV             W2, #0x270F                                            ; +0x34, 0x921e34\nCSEL            W1, W1, WZR, GE                                        ; +0x38, 0x921e38\nMOV             X0, X19; this                                          ; +0x3c, 0x921e3c\nCMP             W1, W2                                                 ; +0x40, 0x921e40\nCSEL            W1, W1, W2, LE                                         ; +0x44, 0x921e44\nSTR             W1, [X19,#0x420]                                       ; +0x48, 0x921e48\nBL              _ZN20GJFollowCommandLayer20updateTargetGroupID2Ev; GJFollowCommandLayer::updateTargetGroupID2(void) ; +0x4c, 0x921e4c\nMOV             X0, X19; this                                          ; +0x50, 0x921e50\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0x921e54\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0x921e58\nB               _ZN20GJFollowCommandLayer21updateTextInputLabel2Ev; GJFollowCommandLayer::updateTextInputLabel2(void) ; +0x5c, 0x921e5c\nADD             W1, W1, #1                                             ; +0x60, 0x921e60\nB               loc_921E30                                             ; +0x64, 0x921e64", "xrefs": ["<???> @ 0xc8598", "GJFollowCommandLayer::init @ 0x921268", "<???> @ 0x122ef68"], "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"}