{"type": "func", "start": 4296782448, "end": 4296782616, "name": "EffectGameObject::canSpawnTriggers", "pseudocode": "// \n// EffectGameObject::canSpawnTriggers from 0x1001bb270 to 0x1001bb318 (168 bytes)\n// \n// 4 xrefs:\n// > sub_1000F5470 @ 0x1000f54ff\n// > sub_1000F5470 @ 0x1000f5bd6\n// > sub_1000F78E0 @ 0x1000f7b0a\n// > sub_1000F78E0 @ 0x1000f8480\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\nbool __fastcall EffectGameObject::canSpawnTriggers(EffectGameObject *a1)\n{\n  int m_objectID; // ecx\n  bool result; // al\n  unsigned int v3; // ecx\n  int v4; // edx\n  unsigned __int64 v5; // rdx\n  __int64 v6; // rsi\n\n  m_objectID = a1->m_objectID;\n  result = 1;\n  if ( m_objectID > 2062 )\n  {\n    v5 = (unsigned int)(m_objectID - 3604);\n    if ( (unsigned int)v5 > 0x27 || (v6 = 0x9000010029LL, !_bittest64(&v6, v5)) )\n    {\n      if ( m_objectID != 2063 && m_objectID != 2068 )\n        return a1->m_objectType == Collectible;\n    }\n  }\n  else if ( m_objectID <= 1593 )\n  {\n    if ( m_objectID != 142 && m_objectID != 1268 && m_objectID != 1329 )\n      return a1->m_objectType == Collectible;\n  }\n  else if ( m_objectID > 1810 )\n  {\n    if ( m_objectID != 1811 && m_objectID != 1815 && m_objectID != 1912 )\n      return a1->m_objectType == Collectible;\n  }\n  else\n  {\n    v3 = m_objectID - 1594;\n    if ( v3 > 0x11 )\n      return a1->m_objectType == Collectible;\n    v4 = 131075;\n    if ( !_bittest(&v4, v3) )\n      return a1->m_objectType == Collectible;\n  }\n  return result;\n}", "assembly": "; \n; EffectGameObject::canSpawnTriggers from 0x1001bb270 to 0x1001bb318 (168 bytes)\n; \n; 4 xrefs:\n; > sub_1000F5470 @ 0x1000f54ff\n; > sub_1000F5470 @ 0x1000f5bd6\n; > sub_1000F78E0 @ 0x1000f7b0a\n; > sub_1000F78E0 @ 0x1000f8480\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, 0x1001bb270\nmov     rbp, rsp                                                       ; +0x1, 0x1001bb271\nmov     ecx, [rdi+404h]                                                ; +0x4, 0x1001bb274\nmov     al, 1                                                          ; +0xa, 0x1001bb27a\ncmp     ecx, 80Eh                                                      ; +0xc, 0x1001bb27c\njg      short loc_1001BB2AB                                            ; +0x12, 0x1001bb282\ncmp     ecx, 639h                                                      ; +0x14, 0x1001bb284\njle     short loc_1001BB2C8                                            ; +0x1a, 0x1001bb28a\ncmp     ecx, 712h                                                      ; +0x1c, 0x1001bb28c\njg      short loc_1001BB2E2                                            ; +0x22, 0x1001bb292\nadd     ecx, 0FFFFF9C6h                                                ; +0x24, 0x1001bb294\ncmp     ecx, 11h                                                       ; +0x2a, 0x1001bb29a\nja      short loc_1001BB30C                                            ; +0x2d, 0x1001bb29d\nmov     edx, 20003h                                                    ; +0x2f, 0x1001bb29f\nbt      edx, ecx                                                       ; +0x34, 0x1001bb2a4\njb      short loc_1001BB2C6                                            ; +0x37, 0x1001bb2a7\njmp     short loc_1001BB30C                                            ; +0x39, 0x1001bb2a9\nlea     edx, [rcx-0E14h]                                               ; +0x3b, 0x1001bb2ab\ncmp     edx, 27h ; '''                                                 ; +0x41, 0x1001bb2b1\nja      short loc_1001BB2FC                                            ; +0x44, 0x1001bb2b4\nmov     rsi, 9000010029h                                               ; +0x46, 0x1001bb2b6\nbt      rsi, rdx                                                       ; +0x50, 0x1001bb2c0\njnb     short loc_1001BB2FC                                            ; +0x54, 0x1001bb2c4\npop     rbp                                                            ; +0x56, 0x1001bb2c6\nretn                                                                   ; +0x57, 0x1001bb2c7\ncmp     ecx, 8Eh                                                       ; +0x58, 0x1001bb2c8\njz      short loc_1001BB2C6                                            ; +0x5e, 0x1001bb2ce\ncmp     ecx, 4F4h                                                      ; +0x60, 0x1001bb2d0\njz      short loc_1001BB2C6                                            ; +0x66, 0x1001bb2d6\ncmp     ecx, 531h                                                      ; +0x68, 0x1001bb2d8\njz      short loc_1001BB2C6                                            ; +0x6e, 0x1001bb2de\njmp     short loc_1001BB30C                                            ; +0x70, 0x1001bb2e0\ncmp     ecx, 713h                                                      ; +0x72, 0x1001bb2e2\njz      short loc_1001BB2C6                                            ; +0x78, 0x1001bb2e8\ncmp     ecx, 717h                                                      ; +0x7a, 0x1001bb2ea\njz      short loc_1001BB2C6                                            ; +0x80, 0x1001bb2f0\ncmp     ecx, 778h                                                      ; +0x82, 0x1001bb2f2\njz      short loc_1001BB2C6                                            ; +0x88, 0x1001bb2f8\njmp     short loc_1001BB30C                                            ; +0x8a, 0x1001bb2fa\ncmp     ecx, 80Fh                                                      ; +0x8c, 0x1001bb2fc\njz      short loc_1001BB2C6                                            ; +0x92, 0x1001bb302\ncmp     ecx, 814h                                                      ; +0x94, 0x1001bb304\njz      short loc_1001BB2C6                                            ; +0x9a, 0x1001bb30a\ncmp     dword ptr [rdi+398h], 1Eh                                      ; +0x9c, 0x1001bb30c\nsetz    al                                                             ; +0xa3, 0x1001bb313\npop     rbp                                                            ; +0xa6, 0x1001bb316\nretn                                                                   ; +0xa7, 0x1001bb317", "xrefs": ["sub_1000F5470 @ 0x1000f54ff", "sub_1000F5470 @ 0x1000f5bd6", "sub_1000F78E0 @ 0x1000f7b0a", "sub_1000F78E0 @ 0x1000f8480"], "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"}