{"type": "func", "start": 4298534640, "end": 4298534790, "name": "GJPFollowCommandLayer::updateTargetGroupID", "pseudocode": "// \n// GJPFollowCommandLayer::updateTargetGroupID from 0x100366ef0 to 0x100366f86 (150 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 __fastcall GJPFollowCommandLayer::updateTargetGroupID(GJPFollowCommandLayer *a1)\n{\n  int m_targetGroupID; // ecx\n  int v3; // esi\n  EffectGameObject *m_gameObject; // rdi\n  unsigned int v5; // r14d\n  EffectGameObject *v6; // rax\n\n  m_targetGroupID = 0;\n  if ( a1->m_targetGroupID > 0 )\n    m_targetGroupID = a1->m_targetGroupID;\n  v3 = 9999;\n  if ( m_targetGroupID < 9999 )\n    v3 = m_targetGroupID;\n  a1->m_targetGroupID = v3;\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    EffectGameObject::setTargetID(m_gameObject, v3);\n  }\n  else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )\n  {\n    v5 = 0;\n    do\n    {\n      v6 = (EffectGameObject *)sub_1007200C0(a1->m_gameObjects, v5);\n      EffectGameObject::setTargetID(v6, a1->m_targetGroupID);\n      ++v5;\n    }\n    while ( v5 < (unsigned int)sub_100720070(a1->m_gameObjects) );\n  }\n}", "assembly": "; \n; GJPFollowCommandLayer::updateTargetGroupID from 0x100366ef0 to 0x100366f86 (150 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\npush    rbp                                                            ; +0x0, 0x100366ef0\nmov     rbp, rsp                                                       ; +0x1, 0x100366ef1\npush    r14                                                            ; +0x4, 0x100366ef4\npush    rbx                                                            ; +0x6, 0x100366ef6\nmov     rbx, rdi                                                       ; +0x7, 0x100366ef7\nmov     eax, [rdi+410h]                                                ; +0xa, 0x100366efa\nxor     ecx, ecx                                                       ; +0x10, 0x100366f00\ntest    eax, eax                                                       ; +0x12, 0x100366f02\ncmovg   ecx, eax                                                       ; +0x14, 0x100366f04\ncmp     ecx, 270Fh                                                     ; +0x17, 0x100366f07\nmov     esi, 270Fh                                                     ; +0x1d, 0x100366f0d\ncmovl   esi, ecx                                                       ; +0x22, 0x100366f12\nmov     [rdi+410h], esi                                                ; +0x25, 0x100366f15\nmov     rdi, [rdi+290h]                                                ; +0x2b, 0x100366f1b\ntest    rdi, rdi                                                       ; +0x32, 0x100366f22\njz      short loc_100366F30                                            ; +0x35, 0x100366f25\npop     rbx                                                            ; +0x37, 0x100366f27\npop     r14                                                            ; +0x38, 0x100366f28\npop     rbp                                                            ; +0x3a, 0x100366f2a\njmp     EffectGameObject__setTargetID                                  ; +0x3b, 0x100366f2b\nmov     rdi, [rbx+298h]                                                ; +0x40, 0x100366f30\ncall    sub_100720070                                                  ; +0x47, 0x100366f37\ntest    eax, eax                                                       ; +0x4c, 0x100366f3c\njz      short loc_100366F81                                            ; +0x4e, 0x100366f3e\nxor     r14d, r14d                                                     ; +0x50, 0x100366f40\nnop     word ptr [rax+rax+00000000h]                                   ; +0x53, 0x100366f43\nmov     rdi, [rbx+298h]                                                ; +0x60, 0x100366f50\nmov     esi, r14d                                                      ; +0x67, 0x100366f57\ncall    sub_1007200C0                                                  ; +0x6a, 0x100366f5a\nmov     esi, [rbx+410h]                                                ; +0x6f, 0x100366f5f\nmov     rdi, rax                                                       ; +0x75, 0x100366f65\ncall    EffectGameObject__setTargetID                                  ; +0x78, 0x100366f68\ninc     r14d                                                           ; +0x7d, 0x100366f6d\nmov     rdi, [rbx+298h]                                                ; +0x80, 0x100366f70\ncall    sub_100720070                                                  ; +0x87, 0x100366f77\ncmp     r14d, eax                                                      ; +0x8c, 0x100366f7c\njb      short loc_100366F50                                            ; +0x8f, 0x100366f7f\npop     rbx                                                            ; +0x91, 0x100366f81\npop     r14                                                            ; +0x92, 0x100366f82\npop     rbp                                                            ; +0x94, 0x100366f84\nretn                                                                   ; +0x95, 0x100366f85", "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"}