{"type": "func", "start": 4186708, "end": 4186758, "name": "ChanceTriggerGameObject::getTargetIDs", "pseudocode": "// \n// ChanceTriggerGameObject::getTargetIDs from 0x3fe254 to 0x3fe286 (50 bytes)\n// \n// 1 xrefs:\n// > addTargetIDsFromTrigger @ 0x377442\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\nvoid ChanceTriggerGameObject::getTargetIDs(ChanceTriggerGameObject *a1, std::vector<int> *a2)\n{\n  ChanceObject *m_finish; // r6\n  ChanceObject *i; // r4\n  int *v5; // r3\n\n  m_finish = a1->m_chanceObjects.m_finish;\n  for ( i = a1->m_chanceObjects.m_start; i != m_finish; ++i )\n  {\n    v5 = a2->m_finish;\n    if ( v5 == a2->m_reserveEnd )\n    {\n      std::vector<int>::_M_emplace_back_aux<int const&>((int)a2, i);\n    }\n    else\n    {\n      if ( v5 )\n        *v5 = i->m_groupID;\n      a2->m_finish = v5 + 1;\n    }\n  }\n}", "assembly": "; \n; ChanceTriggerGameObject::getTargetIDs from 0x3fe254 to 0x3fe286 (50 bytes)\n; \n; 1 xrefs:\n; > addTargetIDsFromTrigger @ 0x377442\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            {R4-R6,LR}                                             ; +0x0, 0x3fe254\nMOV             R5, R1                                                 ; +0x2, 0x3fe256\nLDR.W           R6, [R0,#0x668]                                        ; +0x4, 0x3fe258\nLDR.W           R4, [R0,#0x664]                                        ; +0x8, 0x3fe25c\nCMP             R4, R6                                                 ; +0xc, 0x3fe260\nBEQ             locret_3FE284                                          ; +0xe, 0x3fe262\nLDR             R3, [R5,#4]                                            ; +0x10, 0x3fe264\nLDR             R2, [R5,#8]                                            ; +0x12, 0x3fe266\nCMP             R3, R2                                                 ; +0x14, 0x3fe268\nBEQ             loc_3FE278                                             ; +0x16, 0x3fe26a\nLDR             R2, [R4]                                               ; +0x18, 0x3fe26c\nCBZ             R3, loc_3FE272                                         ; +0x1a, 0x3fe26e\nSTR             R2, [R3]                                               ; +0x1c, 0x3fe270\nADDS            R3, #4                                                 ; +0x1e, 0x3fe272\nSTR             R3, [R5,#4]                                            ; +0x20, 0x3fe274\nB               loc_3FE280                                             ; +0x22, 0x3fe276\nMOV             R0, R5                                                 ; +0x24, 0x3fe278\nMOV             R1, R4                                                 ; +0x26, 0x3fe27a\nBL              _ZNSt6vectorIiSaIiEE19_M_emplace_back_auxIJRKiEEEvDpOT_; std::vector<int>::_M_emplace_back_aux<int const&>(int const&) ; +0x28, 0x3fe27c\nADDS            R4, #0x10                                              ; +0x2c, 0x3fe280\nB               loc_3FE260                                             ; +0x2e, 0x3fe282\nPOP             {R4-R6,PC}                                             ; +0x30, 0x3fe284", "xrefs": ["addTargetIDsFromTrigger @ 0x377442"], "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"}