// // EffectGameObject::hasSpawnTargetID from 0x10019baf0 to 0x10019bc3a (330 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:25:57 +0000 // bool __fastcall EffectGameObject::hasSpawnTargetID(__int64 a1, int a2) { int v2; // eax unsigned __int64 v3; // rax __int64 v4; // rcx __int64 v5; // rdx __int64 v6; // rcx __int64 v7; // rdx bool result; // al bool v9; // zf if ( a2 <= 0 ) return 0; v2 = *(_DWORD *)(a1 + 1028); if ( v2 <= 1911 ) { if ( v2 <= 1593 ) { if ( v2 == 142 || v2 == 1268 || v2 == 1329 ) return *(_DWORD *)(a1 + 1464) == a2; } else { if ( v2 > 1810 ) { if ( v2 == 1811 ) goto LABEL_29; if ( v2 != 1815 ) goto LABEL_28; return *(_DWORD *)(a1 + 1464) == a2; } if ( (unsigned int)(v2 - 1594) < 2 ) return *(_DWORD *)(a1 + 1464) == a2; if ( v2 == 1611 ) goto LABEL_29; } LABEL_28: if ( *(_DWORD *)(a1 + 920) == 30 ) { LABEL_29: if ( *(_BYTE *)(a1 + 1637) == 1 ) return *(_DWORD *)(a1 + 1464) == a2; } return 0; } if ( v2 > 3603 ) { v3 = (unsigned int)(v2 - 3604); if ( (unsigned int)v3 > 0x27 ) goto LABEL_28; v4 = 0x9000000021LL; if ( !_bittest64(&v4, v3) ) { if ( v3 != 3 ) { if ( v3 != 16 ) goto LABEL_28; goto LABEL_33; } goto LABEL_17; } return *(_DWORD *)(a1 + 1464) == a2; } if ( v2 == 1912 ) { LABEL_33: result = 1; if ( *(_DWORD *)(a1 + 1464) != a2 ) return *(_DWORD *)(a1 + 1468) == a2; return result; } if ( v2 == 2063 ) { result = 1; if ( *(_DWORD *)(a1 + 1464) != a2 && *(_DWORD *)(a1 + 1844) != a2 ) return *(_DWORD *)(a1 + 1848) == a2; return result; } if ( v2 != 2068 ) goto LABEL_28; LABEL_17: v5 = *(_QWORD *)(a1 + 1840); v6 = *(_QWORD *)(a1 + 1848); if ( v5 == v6 ) return 0; v7 = v5 + 16; do { result = *(_DWORD *)(v7 - 16) == a2; if ( *(_DWORD *)(v7 - 16) == a2 ) break; v9 = v7 == v6; v7 += 16; } while ( !v9 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source