{"type": "func", "start": 4109480, "end": 4109508, "name": "ChanceTriggerGameObject::containsTargetID", "pseudocode": "// \n// ChanceTriggerGameObject::containsTargetID from 0x3eb4a8 to 0x3eb4c4 (28 bytes)\n// \n// 1 xrefs:\n// > EffectGameObject::hasSpawnTargetID @ 0x3eb57a\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 ChanceTriggerGameObject::containsTargetID(ChanceTriggerGameObject *a1, int a2)\n{\n  ChanceObject *i; // r3\n  int m_groupID; // t1\n\n  for ( i = a1->m_chanceObjects.m_start; a1->m_chanceObjects.m_finish != i; ++i )\n  {\n    m_groupID = i->m_groupID;\n    if ( m_groupID == a2 )\n      return 1;\n  }\n  return 0;\n}", "assembly": "; \n; ChanceTriggerGameObject::containsTargetID from 0x3eb4a8 to 0x3eb4c4 (28 bytes)\n; \n; 1 xrefs:\n; > EffectGameObject::hasSpawnTargetID @ 0x3eb57a\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\nLDR.W           R2, [R0,#0x668]                                        ; +0x0, 0x3eb4a8\nLDR.W           R3, [R0,#0x664]                                        ; +0x4, 0x3eb4ac\nCMP             R2, R3                                                 ; +0x8, 0x3eb4b0\nBEQ             loc_3EB4C0                                             ; +0xa, 0x3eb4b2\nLDR.W           R0, [R3],#0x10                                         ; +0xc, 0x3eb4b4\nCMP             R0, R1                                                 ; +0x10, 0x3eb4b8\nBNE             loc_3EB4B0                                             ; +0x12, 0x3eb4ba\nMOVS            R0, #1                                                 ; +0x14, 0x3eb4bc\nBX              LR                                                     ; +0x16, 0x3eb4be\nMOVS            R0, #0                                                 ; +0x18, 0x3eb4c0\nBX              LR                                                     ; +0x1a, 0x3eb4c2", "xrefs": ["EffectGameObject::hasSpawnTargetID @ 0x3eb57a"], "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"}