{"type": "func", "start": 5097934, "end": 5098004, "name": "GJFollowCommandLayer::onUpdateGroupID", "pseudocode": "// \n// GJFollowCommandLayer::onUpdateGroupID from 0x4dc9ce to 0x4dca14 (70 bytes)\n// \n// 0 xrefs:\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; // r0\n  int m_targetGroupID; // r3\n  int v5; // r3\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 < 1 )\n    v5 = 1;\n  if ( v5 > 9999 )\n    a1->m_targetGroupID = 9999;\n  else\n    a1->m_targetGroupID = v5;\n  GJFollowCommandLayer::updateTargetGroupID(a1);\n  SetupTriggerPopup::updateEditorLabel(a1);\n  GJFollowCommandLayer::updateTextInputLabel(a1);\n}", "assembly": "; \n; GJFollowCommandLayer::onUpdateGroupID from 0x4dc9ce to 0x4dca14 (70 bytes)\n; \n; 0 xrefs:\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\nLDR             R3, [R1]                                               ; +0x0, 0x4dc9ce\nPUSH            {R4,LR}                                                ; +0x2, 0x4dc9d0\nMOV             R4, R0                                                 ; +0x4, 0x4dc9d2\nLDR             R3, [R3,#0x20]                                         ; +0x6, 0x4dc9d4\nMOV             R0, R1                                                 ; +0x8, 0x4dc9d6\nBLX             R3                                                     ; +0xa, 0x4dc9d8\nLDR.W           R3, [R4,#0x2D0]                                        ; +0xc, 0x4dc9da\nMOVW            R2, #0x270F                                            ; +0x10, 0x4dc9de\nCMP             R0, #1                                                 ; +0x14, 0x4dc9e2\nMOV             R0, R4; this                                           ; +0x16, 0x4dc9e4\nITE EQ                                                                 ; +0x18, 0x4dc9e6\nADDEQ           R3, #1                                                 ; +0x1a, 0x4dc9e8\nADDNE.W         R3, R3, #0xFFFFFFFF                                    ; +0x1c, 0x4dc9ea\nCMP             R3, #1                                                 ; +0x20, 0x4dc9ee\nIT LT                                                                  ; +0x22, 0x4dc9f0\nMOVLT           R3, #1                                                 ; +0x24, 0x4dc9f2\nCMP             R3, R2                                                 ; +0x26, 0x4dc9f4\nITE LE                                                                 ; +0x28, 0x4dc9f6\nSTRLE.W         R3, [R4,#0x2D0]                                        ; +0x2a, 0x4dc9f8\nSTRGT.W         R2, [R4,#0x2D0]                                        ; +0x2e, 0x4dc9fc\nBL              _ZN20GJFollowCommandLayer19updateTargetGroupIDEv; GJFollowCommandLayer::updateTargetGroupID(void) ; +0x32, 0x4dca00\nMOV             R0, R4; this                                           ; +0x36, 0x4dca04\nBL              _ZN17SetupTriggerPopup17updateEditorLabelEv; SetupTriggerPopup::updateEditorLabel(void) ; +0x38, 0x4dca06\nMOV             R0, R4; this                                           ; +0x3c, 0x4dca0a\nPOP.W           {R4,LR}                                                ; +0x3e, 0x4dca0c\nB.W             _ZN20GJFollowCommandLayer20updateTextInputLabelEv; GJFollowCommandLayer::updateTextInputLabel(void) ; +0x42, 0x4dca10", "xrefs": [], "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"}