{"type": "func", "start": 5371273424, "end": 5371273505, "name": "GJFollowCommandLayer::onUpdateGroupID2", "pseudocode": "// \n// GJFollowCommandLayer::onUpdateGroupID2 from 0x1402720d0 to 0x140272121 (81 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::init @ 0x140271572\n// > <???> @ 0x1406d0e24\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; // eax\n  int m_followGroupID; // edx\n  int v5; // r8d\n  int v6; // edx\n  int v7; // eax\n\n  v3 = a2->getTag(a2);\n  m_followGroupID = a1->m_followGroupID;\n  v5 = m_followGroupID - 1;\n  v6 = m_followGroupID + 1;\n  if ( v3 != 1 )\n    v6 = v5;\n  v7 = 0;\n  if ( v6 >= 0 )\n    v7 = v6;\n  if ( v7 > 9999 )\n    v7 = 9999;\n  a1->m_followGroupID = v7;\n  GJFollowCommandLayer::updateTargetGroupID2(a1);\n  GJFollowCommandLayer::updateTextInputLabel2(a1);\n}", "assembly": "; \n; GJFollowCommandLayer::onUpdateGroupID2 from 0x1402720d0 to 0x140272121 (81 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::init @ 0x140271572\n; > <???> @ 0x1406d0e24\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\npush    rbx                                                            ; +0x0, 0x1402720d0\nsub     rsp, 20h                                                       ; +0x2, 0x1402720d2\nmov     rax, [rdx]                                                     ; +0x6, 0x1402720d6\nmov     rbx, rcx                                                       ; +0x9, 0x1402720d9\nmov     rcx, rdx                                                       ; +0xc, 0x1402720dc\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x1402720df\nmov     edx, [rbx+400h]                                                ; +0x12, 0x1402720e2\nmov     ecx, 270Fh                                                     ; +0x18, 0x1402720e8\nlea     r8d, [rdx-1]                                                   ; +0x1d, 0x1402720ed\ninc     edx                                                            ; +0x21, 0x1402720f1\ncmp     eax, 1                                                         ; +0x23, 0x1402720f3\ncmovnz  edx, r8d                                                       ; +0x26, 0x1402720f6\nxor     eax, eax                                                       ; +0x2a, 0x1402720fa\ntest    edx, edx                                                       ; +0x2c, 0x1402720fc\ncmovns  eax, edx                                                       ; +0x2e, 0x1402720fe\ncmp     eax, ecx                                                       ; +0x31, 0x140272101\ncmovg   eax, ecx                                                       ; +0x33, 0x140272103\nmov     rcx, rbx                                                       ; +0x36, 0x140272106\nmov     [rbx+400h], eax                                                ; +0x39, 0x140272109\ncall    GJFollowCommandLayer__updateTargetGroupID2                     ; +0x3f, 0x14027210f\nmov     rcx, rbx                                                       ; +0x44, 0x140272114\nadd     rsp, 20h                                                       ; +0x47, 0x140272117\npop     rbx                                                            ; +0x4b, 0x14027211b\njmp     GJFollowCommandLayer__updateTextInputLabel2                    ; +0x4c, 0x14027211c", "xrefs": ["GJFollowCommandLayer::init @ 0x140271572", "<???> @ 0x1406d0e24"], "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"}