{"type": "func", "start": 4297945696, "end": 4297945846, "name": "GJFollowCommandLayer::updateTargetGroupID", "pseudocode": "// \n// GJFollowCommandLayer::updateTargetGroupID from 0x1002d7260 to 0x1002d72f6 (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 GJFollowCommandLayer::updateTargetGroupID(GJFollowCommandLayer *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; GJFollowCommandLayer::updateTargetGroupID from 0x1002d7260 to 0x1002d72f6 (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, 0x1002d7260\nmov     rbp, rsp                                                       ; +0x1, 0x1002d7261\npush    r14                                                            ; +0x4, 0x1002d7264\npush    rbx                                                            ; +0x6, 0x1002d7266\nmov     rbx, rdi                                                       ; +0x7, 0x1002d7267\nmov     eax, [rdi+3F8h]                                                ; +0xa, 0x1002d726a\nxor     ecx, ecx                                                       ; +0x10, 0x1002d7270\ntest    eax, eax                                                       ; +0x12, 0x1002d7272\ncmovg   ecx, eax                                                       ; +0x14, 0x1002d7274\ncmp     ecx, 270Fh                                                     ; +0x17, 0x1002d7277\nmov     esi, 270Fh                                                     ; +0x1d, 0x1002d727d\ncmovl   esi, ecx                                                       ; +0x22, 0x1002d7282\nmov     [rdi+3F8h], esi                                                ; +0x25, 0x1002d7285\nmov     rdi, [rdi+290h]                                                ; +0x2b, 0x1002d728b\ntest    rdi, rdi                                                       ; +0x32, 0x1002d7292\njz      short loc_1002D72A0                                            ; +0x35, 0x1002d7295\npop     rbx                                                            ; +0x37, 0x1002d7297\npop     r14                                                            ; +0x38, 0x1002d7298\npop     rbp                                                            ; +0x3a, 0x1002d729a\njmp     EffectGameObject__setTargetID                                  ; +0x3b, 0x1002d729b\nmov     rdi, [rbx+298h]                                                ; +0x40, 0x1002d72a0\ncall    sub_100720070                                                  ; +0x47, 0x1002d72a7\ntest    eax, eax                                                       ; +0x4c, 0x1002d72ac\njz      short loc_1002D72F1                                            ; +0x4e, 0x1002d72ae\nxor     r14d, r14d                                                     ; +0x50, 0x1002d72b0\nnop     word ptr [rax+rax+00000000h]                                   ; +0x53, 0x1002d72b3\nmov     rdi, [rbx+298h]                                                ; +0x60, 0x1002d72c0\nmov     esi, r14d                                                      ; +0x67, 0x1002d72c7\ncall    sub_1007200C0                                                  ; +0x6a, 0x1002d72ca\nmov     esi, [rbx+3F8h]                                                ; +0x6f, 0x1002d72cf\nmov     rdi, rax                                                       ; +0x75, 0x1002d72d5\ncall    EffectGameObject__setTargetID                                  ; +0x78, 0x1002d72d8\ninc     r14d                                                           ; +0x7d, 0x1002d72dd\nmov     rdi, [rbx+298h]                                                ; +0x80, 0x1002d72e0\ncall    sub_100720070                                                  ; +0x87, 0x1002d72e7\ncmp     r14d, eax                                                      ; +0x8c, 0x1002d72ec\njb      short loc_1002D72C0                                            ; +0x8f, 0x1002d72ef\npop     rbx                                                            ; +0x91, 0x1002d72f1\npop     r14                                                            ; +0x92, 0x1002d72f2\npop     rbp                                                            ; +0x94, 0x1002d72f4\nretn                                                                   ; +0x95, 0x1002d72f5", "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"}