{"type": "func", "start": 5371381232, "end": 5371381327, "name": "GJPFollowCommandLayer::onUpdateGroupID", "pseudocode": "// \n// GJPFollowCommandLayer::onUpdateGroupID from 0x14028c5f0 to 0x14028c64f (95 bytes)\n// \n// 3 xrefs:\n// > GJPFollowCommandLayer::init @ 0x14028b7e4\n// > GJPFollowCommandLayer::init @ 0x14028b8d1\n// > <???> @ 0x1406d16b8\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 GJPFollowCommandLayer::onUpdateGroupID(GJPFollowCommandLayer *a1, cocos2d::CCObject *a2)\n{\n  int v3; // eax\n  int m_targetGroupID; // edx\n  int v5; // r8d\n  int v6; // edx\n  int v7; // eax\n\n  v3 = a2->getTag(a2);\n  m_targetGroupID = a1->m_targetGroupID;\n  v5 = m_targetGroupID - 1;\n  v6 = m_targetGroupID + 1;\n  if ( v3 != 1 )\n    v6 = v5;\n  if ( v6 < 1 )\n  {\n    v6 = 1;\nLABEL_6:\n    v7 = v6;\n    goto LABEL_7;\n  }\n  v7 = 9999;\n  if ( v6 <= 9999 )\n    goto LABEL_6;\nLABEL_7:\n  a1->m_targetGroupID = v7;\n  GJPFollowCommandLayer::updateTargetGroupID(a1);\n  SetupTriggerPopup::updateEditorLabel(a1);\n  GJPFollowCommandLayer::updateTextInputLabel(a1);\n}", "assembly": "; \n; GJPFollowCommandLayer::onUpdateGroupID from 0x14028c5f0 to 0x14028c64f (95 bytes)\n; \n; 3 xrefs:\n; > GJPFollowCommandLayer::init @ 0x14028b7e4\n; > GJPFollowCommandLayer::init @ 0x14028b8d1\n; > <???> @ 0x1406d16b8\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, 0x14028c5f0\nsub     rsp, 20h                                                       ; +0x2, 0x14028c5f2\nmov     rax, [rdx]                                                     ; +0x6, 0x14028c5f6\nmov     rbx, rcx                                                       ; +0x9, 0x14028c5f9\nmov     rcx, rdx                                                       ; +0xc, 0x14028c5fc\ncall    qword ptr [rax+38h]                                            ; +0xf, 0x14028c5ff\nmov     edx, [rbx+408h]                                                ; +0x12, 0x14028c602\nlea     r8d, [rdx-1]                                                   ; +0x18, 0x14028c608\ninc     edx                                                            ; +0x1c, 0x14028c60c\ncmp     eax, 1                                                         ; +0x1e, 0x14028c60e\ncmovnz  edx, r8d                                                       ; +0x21, 0x14028c611\ncmp     edx, 1                                                         ; +0x25, 0x14028c615\njge     short loc_14028C621                                            ; +0x28, 0x14028c618\nmov     edx, 1                                                         ; +0x2a, 0x14028c61a\njmp     short loc_14028C62A                                            ; +0x2f, 0x14028c61f\nmov     eax, 270Fh                                                     ; +0x31, 0x14028c621\ncmp     edx, eax                                                       ; +0x36, 0x14028c626\njg      short loc_14028C62C                                            ; +0x38, 0x14028c628\nmov     eax, edx                                                       ; +0x3a, 0x14028c62a\nmov     rcx, rbx                                                       ; +0x3c, 0x14028c62c\nmov     [rbx+408h], eax                                                ; +0x3f, 0x14028c62f\ncall    GJPFollowCommandLayer__updateTargetGroupID                     ; +0x45, 0x14028c635\nmov     rcx, rbx                                                       ; +0x4a, 0x14028c63a\ncall    SetupTriggerPopup__updateEditorLabel                           ; +0x4d, 0x14028c63d\nmov     rcx, rbx                                                       ; +0x52, 0x14028c642\nadd     rsp, 20h                                                       ; +0x55, 0x14028c645\npop     rbx                                                            ; +0x59, 0x14028c649\njmp     GJPFollowCommandLayer__updateTextInputLabel                    ; +0x5a, 0x14028c64a", "xrefs": ["GJPFollowCommandLayer::init @ 0x14028b7e4", "GJPFollowCommandLayer::init @ 0x14028b8d1", "<???> @ 0x1406d16b8"], "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"}