{"type": "func", "start": 5098082, "end": 5098144, "name": "GJFollowCommandLayer::onUpdateGroupID2", "pseudocode": "// \n// GJFollowCommandLayer::onUpdateGroupID2 from 0x4dca62 to 0x4dcaa0 (62 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::onUpdateGroupID2(GJFollowCommandLayer *a1, cocos2d::CCObject *a2)\n{\n  int v3; // r0\n  int m_followGroupID; // r3\n  int v5; // r3\n  int v6; // r3\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  v6 = v5 & ~(v5 >> 31);\n  if ( v6 > 9999 )\n    a1->m_followGroupID = 9999;\n  else\n    a1->m_followGroupID = v6;\n  GJFollowCommandLayer::updateTargetGroupID2(a1);\n  GJFollowCommandLayer::updateTextInputLabel2(a1);\n}", "assembly": "; \n; GJFollowCommandLayer::onUpdateGroupID2 from 0x4dca62 to 0x4dcaa0 (62 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, 0x4dca62\nPUSH            {R4,LR}                                                ; +0x2, 0x4dca64\nMOV             R4, R0                                                 ; +0x4, 0x4dca66\nLDR             R3, [R3,#0x20]                                         ; +0x6, 0x4dca68\nMOV             R0, R1                                                 ; +0x8, 0x4dca6a\nBLX             R3                                                     ; +0xa, 0x4dca6c\nLDR.W           R3, [R4,#0x2D8]                                        ; +0xc, 0x4dca6e\nMOVW            R2, #0x270F                                            ; +0x10, 0x4dca72\nCMP             R0, #1                                                 ; +0x14, 0x4dca76\nMOV             R0, R4; this                                           ; +0x16, 0x4dca78\nITE EQ                                                                 ; +0x18, 0x4dca7a\nADDEQ           R3, #1                                                 ; +0x1a, 0x4dca7c\nADDNE.W         R3, R3, #0xFFFFFFFF                                    ; +0x1c, 0x4dca7e\nBIC.W           R3, R3, R3,ASR#31                                      ; +0x20, 0x4dca82\nCMP             R3, R2                                                 ; +0x24, 0x4dca86\nITE LE                                                                 ; +0x26, 0x4dca88\nSTRLE.W         R3, [R4,#0x2D8]                                        ; +0x28, 0x4dca8a\nSTRGT.W         R2, [R4,#0x2D8]                                        ; +0x2c, 0x4dca8e\nBL              _ZN20GJFollowCommandLayer20updateTargetGroupID2Ev; GJFollowCommandLayer::updateTargetGroupID2(void) ; +0x30, 0x4dca92\nMOV             R0, R4; this                                           ; +0x34, 0x4dca96\nPOP.W           {R4,LR}                                                ; +0x36, 0x4dca98\nB.W             _ZN20GJFollowCommandLayer21updateTextInputLabel2Ev; GJFollowCommandLayer::updateTextInputLabel2(void) ; +0x3a, 0x4dca9c", "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"}