{"type": "func", "start": 5147992, "end": 5148216, "name": "EffectGameObject::hasSpawnTargetID", "pseudocode": "// \n// EffectGameObject::hasSpawnTargetID from 0x4e8d58 to 0x4e8e38 (224 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:07 +0000\n// \n\nint __fastcall EffectGameObject::hasSpawnTargetID(EffectGameObject *this, int a2)\n{\n  int v2; // r3\n  bool v3; // zf\n  int v4; // r2\n  int v5; // r3\n  int v6; // r3\n\n  if ( a2 <= 0 )\n    return 0;\n  v2 = *((_DWORD *)this + 223);\n  if ( v2 != 1912 )\n  {\n    if ( v2 <= 1912 )\n    {\n      if ( v2 > 1595 )\n      {\n        if ( v2 == 1811 )\n          goto LABEL_36;\n        if ( v2 != 1815 )\n        {\n          if ( v2 == 1611 )\n            goto LABEL_36;\nLABEL_35:\n          if ( *((_DWORD *)this + 196) == 30 )\n          {\nLABEL_36:\n            v6 = *((unsigned __int8 *)this + 1457);\n            if ( !*((_BYTE *)this + 1457) )\n              return v6;\n            goto LABEL_37;\n          }\n          return 0;\n        }\nLABEL_37:\n        v5 = *((_DWORD *)this + 321);\n        return v5 == a2;\n      }\n      if ( v2 >= 1594 || v2 == 1268 || v2 == 1329 )\n        goto LABEL_37;\n      v3 = v2 == 142;\nLABEL_25:\n      if ( !v3 )\n        goto LABEL_35;\n      goto LABEL_37;\n    }\n    if ( v2 == 3607 )\n      return ChanceTriggerGameObject::containsTargetID(this, a2);\n    if ( v2 <= 3607 )\n    {\n      if ( v2 != 2068 )\n      {\n        if ( v2 == 3604 )\n          goto LABEL_37;\n        if ( v2 != 2063 )\n          goto LABEL_35;\n        if ( *((_DWORD *)this + 321) != a2 && *((_DWORD *)this + 413) != a2 )\n        {\n          v5 = *((_DWORD *)this + 414);\n          return v5 == a2;\n        }\n        return 1;\n      }\n      return ChanceTriggerGameObject::containsTargetID(this, a2);\n    }\n    if ( v2 != 3620 )\n    {\n      if ( v2 > 3620 )\n      {\n        if ( v2 == 3640 )\n          goto LABEL_37;\n        v4 = 3643;\n      }\n      else\n      {\n        v4 = 3609;\n      }\n      v3 = v2 == v4;\n      goto LABEL_25;\n    }\n  }\n  if ( *((_DWORD *)this + 321) == a2 )\n    return 1;\n  v5 = *((_DWORD *)this + 322);\n  return v5 == a2;\n}", "assembly": "; \n; EffectGameObject::hasSpawnTargetID from 0x4e8d58 to 0x4e8e38 (224 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:07 +0000\n; \nCMP             R1, #0                                                 ; +0x0, 0x4e8d58\nBLE             loc_4E8E32                                             ; +0x2, 0x4e8d5a\nLDR.W           R3, [R0,#0x37C]                                        ; +0x4, 0x4e8d5c\nCMP.W           R3, #0x778                                             ; +0x8, 0x4e8d60\nBEQ             loc_4E8DEC                                             ; +0xc, 0x4e8d64\nBGT             loc_4E8DA6                                             ; +0xe, 0x4e8d66\nMOVW            R2, #0x63B                                             ; +0x10, 0x4e8d68\nCMP             R3, R2                                                 ; +0x14, 0x4e8d6c\nBGT             loc_4E8D8C                                             ; +0x16, 0x4e8d6e\nMOVW            R2, #0x63A                                             ; +0x18, 0x4e8d70\nCMP             R3, R2                                                 ; +0x1c, 0x4e8d74\nBGE             loc_4E8E28                                             ; +0x1e, 0x4e8d76\nMOVW            R2, #0x4F4                                             ; +0x20, 0x4e8d78\nCMP             R3, R2                                                 ; +0x24, 0x4e8d7c\nBEQ             loc_4E8E28                                             ; +0x26, 0x4e8d7e\nMOVW            R2, #0x531                                             ; +0x28, 0x4e8d80\nCMP             R3, R2                                                 ; +0x2c, 0x4e8d84\nBEQ             loc_4E8E28                                             ; +0x2e, 0x4e8d86\nCMP             R3, #0x8E                                              ; +0x30, 0x4e8d88\nB               loc_4E8DE8                                             ; +0x32, 0x4e8d8a\nMOVW            R2, #0x713                                             ; +0x34, 0x4e8d8c\nCMP             R3, R2                                                 ; +0x38, 0x4e8d90\nBEQ             loc_4E8E22                                             ; +0x3a, 0x4e8d92\nMOVW            R2, #0x717                                             ; +0x3c, 0x4e8d94\nCMP             R3, R2                                                 ; +0x40, 0x4e8d98\nBEQ             loc_4E8E28                                             ; +0x42, 0x4e8d9a\nMOVW            R2, #0x64B                                             ; +0x44, 0x4e8d9c\nCMP             R3, R2                                                 ; +0x48, 0x4e8da0\nBEQ             loc_4E8E22                                             ; +0x4a, 0x4e8da2\nB               loc_4E8E1A                                             ; +0x4c, 0x4e8da4\nMOVW            R2, #0xE17                                             ; +0x4e, 0x4e8da6\nCMP             R3, R2                                                 ; +0x52, 0x4e8daa\nBEQ             loc_4E8E16                                             ; +0x54, 0x4e8dac\nBGT             loc_4E8DCA                                             ; +0x56, 0x4e8dae\nMOVW            R2, #0x814                                             ; +0x58, 0x4e8db0\nCMP             R3, R2                                                 ; +0x5c, 0x4e8db4\nBEQ             loc_4E8E16                                             ; +0x5e, 0x4e8db6\nMOVW            R2, #0xE14                                             ; +0x60, 0x4e8db8\nCMP             R3, R2                                                 ; +0x64, 0x4e8dbc\nBEQ             loc_4E8E28                                             ; +0x66, 0x4e8dbe\nMOVW            R2, #0x80F                                             ; +0x68, 0x4e8dc0\nCMP             R3, R2                                                 ; +0x6c, 0x4e8dc4\nBEQ             loc_4E8E00                                             ; +0x6e, 0x4e8dc6\nB               loc_4E8E1A                                             ; +0x70, 0x4e8dc8\nMOVW            R2, #0xE24                                             ; +0x72, 0x4e8dca\nCMP             R3, R2                                                 ; +0x76, 0x4e8dce\nBEQ             loc_4E8DEC                                             ; +0x78, 0x4e8dd0\nBGT             loc_4E8DDA                                             ; +0x7a, 0x4e8dd2\nMOVW            R2, #0xE19                                             ; +0x7c, 0x4e8dd4\nB               loc_4E8DE6                                             ; +0x80, 0x4e8dd8\nMOVW            R2, #0xE38                                             ; +0x82, 0x4e8dda\nCMP             R3, R2                                                 ; +0x86, 0x4e8dde\nBEQ             loc_4E8E28                                             ; +0x88, 0x4e8de0\nMOVW            R2, #0xE3B                                             ; +0x8a, 0x4e8de2\nCMP             R3, R2                                                 ; +0x8e, 0x4e8de6\nBNE             loc_4E8E1A                                             ; +0x90, 0x4e8de8\nB               loc_4E8E28                                             ; +0x92, 0x4e8dea\nLDR.W           R3, [R0,#0x504]                                        ; +0x94, 0x4e8dec\nCMP             R3, R1                                                 ; +0x98, 0x4e8df0\nBEQ             loc_4E8E2E                                             ; +0x9a, 0x4e8df2\nLDR.W           R3, [R0,#0x508]                                        ; +0x9c, 0x4e8df4\nSUBS            R2, R3, R1                                             ; +0xa0, 0x4e8df8\nNEGS            R3, R2                                                 ; +0xa2, 0x4e8dfa\nADCS            R3, R2                                                 ; +0xa4, 0x4e8dfc\nB               loc_4E8E34                                             ; +0xa6, 0x4e8dfe\nLDR.W           R3, [R0,#0x504]                                        ; +0xa8, 0x4e8e00\nCMP             R3, R1                                                 ; +0xac, 0x4e8e04\nBEQ             loc_4E8E2E                                             ; +0xae, 0x4e8e06\nLDR.W           R3, [R0,#0x674]                                        ; +0xb0, 0x4e8e08\nCMP             R3, R1                                                 ; +0xb4, 0x4e8e0c\nBEQ             loc_4E8E2E                                             ; +0xb6, 0x4e8e0e\nLDR.W           R3, [R0,#0x678]                                        ; +0xb8, 0x4e8e10\nB               loc_4E8DF8                                             ; +0xbc, 0x4e8e14\nB.W             _ZN23ChanceTriggerGameObject16containsTargetIDEi; ChanceTriggerGameObject::containsTargetID(int) ; +0xbe, 0x4e8e16\nLDR.W           R3, [R0,#0x310]                                        ; +0xc2, 0x4e8e1a\nCMP             R3, #0x1E                                              ; +0xc6, 0x4e8e1e\nBNE             loc_4E8E32                                             ; +0xc8, 0x4e8e20\nLDRB.W          R3, [R0,#0x5B1]                                        ; +0xca, 0x4e8e22\nCBZ             R3, loc_4E8E34                                         ; +0xce, 0x4e8e26\nLDR.W           R3, [R0,#0x504]                                        ; +0xd0, 0x4e8e28\nB               loc_4E8DF8                                             ; +0xd4, 0x4e8e2c\nMOVS            R3, #1                                                 ; +0xd6, 0x4e8e2e\nB               loc_4E8E34                                             ; +0xd8, 0x4e8e30\nMOVS            R3, #0                                                 ; +0xda, 0x4e8e32\nMOV             R0, R3                                                 ; +0xdc, 0x4e8e34\nBX              LR                                                     ; +0xde, 0x4e8e36", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}