{"type": "func", "start": 4296653552, "end": 4296653882, "name": "EffectGameObject::hasSpawnTargetID", "pseudocode": "// \n// EffectGameObject::hasSpawnTargetID from 0x10019baf0 to 0x10019bc3a (330 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:25:57 +0000\n// \n\nbool __fastcall EffectGameObject::hasSpawnTargetID(__int64 a1, int a2)\n{\n  int v2; // eax\n  unsigned __int64 v3; // rax\n  __int64 v4; // rcx\n  __int64 v5; // rdx\n  __int64 v6; // rcx\n  __int64 v7; // rdx\n  bool result; // al\n  bool v9; // zf\n\n  if ( a2 <= 0 )\n    return 0;\n  v2 = *(_DWORD *)(a1 + 1028);\n  if ( v2 <= 1911 )\n  {\n    if ( v2 <= 1593 )\n    {\n      if ( v2 == 142 || v2 == 1268 || v2 == 1329 )\n        return *(_DWORD *)(a1 + 1464) == a2;\n    }\n    else\n    {\n      if ( v2 > 1810 )\n      {\n        if ( v2 == 1811 )\n          goto LABEL_29;\n        if ( v2 != 1815 )\n          goto LABEL_28;\n        return *(_DWORD *)(a1 + 1464) == a2;\n      }\n      if ( (unsigned int)(v2 - 1594) < 2 )\n        return *(_DWORD *)(a1 + 1464) == a2;\n      if ( v2 == 1611 )\n        goto LABEL_29;\n    }\nLABEL_28:\n    if ( *(_DWORD *)(a1 + 920) == 30 )\n    {\nLABEL_29:\n      if ( *(_BYTE *)(a1 + 1637) == 1 )\n        return *(_DWORD *)(a1 + 1464) == a2;\n    }\n    return 0;\n  }\n  if ( v2 > 3603 )\n  {\n    v3 = (unsigned int)(v2 - 3604);\n    if ( (unsigned int)v3 > 0x27 )\n      goto LABEL_28;\n    v4 = 0x9000000021LL;\n    if ( !_bittest64(&v4, v3) )\n    {\n      if ( v3 != 3 )\n      {\n        if ( v3 != 16 )\n          goto LABEL_28;\n        goto LABEL_33;\n      }\n      goto LABEL_17;\n    }\n    return *(_DWORD *)(a1 + 1464) == a2;\n  }\n  if ( v2 == 1912 )\n  {\nLABEL_33:\n    result = 1;\n    if ( *(_DWORD *)(a1 + 1464) != a2 )\n      return *(_DWORD *)(a1 + 1468) == a2;\n    return result;\n  }\n  if ( v2 == 2063 )\n  {\n    result = 1;\n    if ( *(_DWORD *)(a1 + 1464) != a2 && *(_DWORD *)(a1 + 1844) != a2 )\n      return *(_DWORD *)(a1 + 1848) == a2;\n    return result;\n  }\n  if ( v2 != 2068 )\n    goto LABEL_28;\nLABEL_17:\n  v5 = *(_QWORD *)(a1 + 1840);\n  v6 = *(_QWORD *)(a1 + 1848);\n  if ( v5 == v6 )\n    return 0;\n  v7 = v5 + 16;\n  do\n  {\n    result = *(_DWORD *)(v7 - 16) == a2;\n    if ( *(_DWORD *)(v7 - 16) == a2 )\n      break;\n    v9 = v7 == v6;\n    v7 += 16;\n  }\n  while ( !v9 );\n  return result;\n}", "assembly": "; \n; EffectGameObject::hasSpawnTargetID from 0x10019baf0 to 0x10019bc3a (330 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:25:57 +0000\n; \ntest    esi, esi                                                       ; +0x0, 0x10019baf0\njle     loc_10019BC07                                                  ; +0x2, 0x10019baf2\nmov     eax, [rdi+404h]                                                ; +0x8, 0x10019baf8\ncmp     eax, 777h                                                      ; +0xe, 0x10019bafe\njle     short loc_10019BB43                                            ; +0x13, 0x10019bb03\ncmp     eax, 0E13h                                                     ; +0x15, 0x10019bb05\njle     short loc_10019BB71                                            ; +0x1a, 0x10019bb0a\nadd     eax, 0FFFFF1ECh                                                ; +0x1c, 0x10019bb0c\ncmp     eax, 27h ; '''                                                 ; +0x21, 0x10019bb11\nja      loc_10019BBEB                                                  ; +0x24, 0x10019bb14\nmov     rcx, 9000000021h                                               ; +0x2a, 0x10019bb1a\nbt      rcx, rax                                                       ; +0x34, 0x10019bb24\njb      loc_10019BBFD                                                  ; +0x38, 0x10019bb28\ncmp     rax, 3                                                         ; +0x3e, 0x10019bb2e\njz      short loc_10019BB8E                                            ; +0x42, 0x10019bb32\ncmp     rax, 10h                                                       ; +0x44, 0x10019bb34\njz      loc_10019BC0A                                                  ; +0x48, 0x10019bb38\njmp     loc_10019BBEB                                                  ; +0x4e, 0x10019bb3e\ncmp     eax, 639h                                                      ; +0x53, 0x10019bb43\njle     short loc_10019BBC6                                            ; +0x58, 0x10019bb48\ncmp     eax, 712h                                                      ; +0x5a, 0x10019bb4a\njg      loc_10019BBDD                                                  ; +0x5f, 0x10019bb4f\nlea     ecx, [rax-63Ah]                                                ; +0x65, 0x10019bb55\ncmp     ecx, 2                                                         ; +0x6b, 0x10019bb5b\njb      loc_10019BBFD                                                  ; +0x6e, 0x10019bb5e\ncmp     eax, 64Bh                                                      ; +0x74, 0x10019bb64\njz      loc_10019BBF4                                                  ; +0x79, 0x10019bb69\njmp     short loc_10019BBEB                                            ; +0x7f, 0x10019bb6f\ncmp     eax, 778h                                                      ; +0x81, 0x10019bb71\njz      loc_10019BC0A                                                  ; +0x86, 0x10019bb76\ncmp     eax, 80Fh                                                      ; +0x8c, 0x10019bb7c\njz      loc_10019BC1E                                                  ; +0x91, 0x10019bb81\ncmp     eax, 814h                                                      ; +0x97, 0x10019bb87\njnz     short loc_10019BBEB                                            ; +0x9c, 0x10019bb8c\nmov     rdx, [rdi+730h]                                                ; +0x9e, 0x10019bb8e\nmov     rcx, [rdi+738h]                                                ; +0xa5, 0x10019bb95\ncmp     rdx, rcx                                                       ; +0xac, 0x10019bb9c\njz      short loc_10019BC07                                            ; +0xaf, 0x10019bb9f\npush    rbp                                                            ; +0xb1, 0x10019bba1\nmov     rbp, rsp                                                       ; +0xb2, 0x10019bba2\nadd     rdx, 10h                                                       ; +0xb5, 0x10019bba5\nnop     dword ptr [rax+00000000h]                                      ; +0xb9, 0x10019bba9\ncmp     [rdx-10h], esi                                                 ; +0xc0, 0x10019bbb0\nsetz    al                                                             ; +0xc3, 0x10019bbb3\njz      short loc_10019BBC4                                            ; +0xc6, 0x10019bbb6\nlea     rdi, [rdx+10h]                                                 ; +0xc8, 0x10019bbb8\ncmp     rdx, rcx                                                       ; +0xcc, 0x10019bbbc\nmov     rdx, rdi                                                       ; +0xcf, 0x10019bbbf\njnz     short loc_10019BBB0                                            ; +0xd2, 0x10019bbc2\npop     rbp                                                            ; +0xd4, 0x10019bbc4\nretn                                                                   ; +0xd5, 0x10019bbc5\ncmp     eax, 8Eh                                                       ; +0xd6, 0x10019bbc6\njz      short loc_10019BBFD                                            ; +0xdb, 0x10019bbcb\ncmp     eax, 4F4h                                                      ; +0xdd, 0x10019bbcd\njz      short loc_10019BBFD                                            ; +0xe2, 0x10019bbd2\ncmp     eax, 531h                                                      ; +0xe4, 0x10019bbd4\njz      short loc_10019BBFD                                            ; +0xe9, 0x10019bbd9\njmp     short loc_10019BBEB                                            ; +0xeb, 0x10019bbdb\ncmp     eax, 713h                                                      ; +0xed, 0x10019bbdd\njz      short loc_10019BBF4                                            ; +0xf2, 0x10019bbe2\ncmp     eax, 717h                                                      ; +0xf4, 0x10019bbe4\njz      short loc_10019BBFD                                            ; +0xf9, 0x10019bbe9\ncmp     dword ptr [rdi+398h], 1Eh                                      ; +0xfb, 0x10019bbeb\njnz     short loc_10019BC07                                            ; +0x102, 0x10019bbf2\ncmp     byte ptr [rdi+665h], 1                                         ; +0x104, 0x10019bbf4\njnz     short loc_10019BC07                                            ; +0x10b, 0x10019bbfb\ncmp     [rdi+5B8h], esi                                                ; +0x10d, 0x10019bbfd\nsetz    al                                                             ; +0x113, 0x10019bc03\nretn                                                                   ; +0x116, 0x10019bc06\nxor     eax, eax                                                       ; +0x117, 0x10019bc07\nretn                                                                   ; +0x119, 0x10019bc09\nmov     al, 1                                                          ; +0x11a, 0x10019bc0a\ncmp     [rdi+5B8h], esi                                                ; +0x11c, 0x10019bc0c\njz      short locret_10019BC09                                         ; +0x122, 0x10019bc12\ncmp     [rdi+5BCh], esi                                                ; +0x124, 0x10019bc14\nsetz    al                                                             ; +0x12a, 0x10019bc1a\nretn                                                                   ; +0x12d, 0x10019bc1d\nmov     al, 1                                                          ; +0x12e, 0x10019bc1e\ncmp     [rdi+5B8h], esi                                                ; +0x130, 0x10019bc20\njz      short locret_10019BC09                                         ; +0x136, 0x10019bc26\ncmp     [rdi+734h], esi                                                ; +0x138, 0x10019bc28\njz      short locret_10019BC09                                         ; +0x13e, 0x10019bc2e\ncmp     [rdi+738h], esi                                                ; +0x140, 0x10019bc30\nsetz    al                                                             ; +0x146, 0x10019bc36\nretn                                                                   ; +0x149, 0x10019bc39", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}