{"type": "func", "start": 5371184176, "end": 5371184441, "name": "GJEffectManager::registerCollisionTrigger", "pseudocode": "// \n// GJEffectManager::registerCollisionTrigger from 0x14025c430 to 0x14025c539 (265 bytes)\n// \n// 4 xrefs:\n// > EffectGameObject::triggerObject @ 0x1404a6fd6\n// > EffectGameObject::triggerObject @ 0x1404a70eb\n// > EffectGameObject::triggerObject @ 0x1404a71b3\n// > <???> @ 0x1406cfdec\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\n// Hidden C++ exception states: #wind=1\nvoid GJEffectManager::registerCollisionTrigger(\n        GJEffectManager *a1,\n        int a2,\n        int a3,\n        int a4,\n        bool a5,\n        bool a6,\n        std::vector<int> *const a7,\n        int a8,\n        int a9)\n{\n  int v9; // esi\n  std::vector<CollisionTriggerAction> *p_m_unkVector230; // rdi\n  std::_Vector_val<std::_Simple_types<CollisionTriggerAction>>::pointer Mylast; // rbx\n  int v13; // eax\n  int v14; // [rsp+88h] [rbp+10h] BYREF\n  int v15; // [rsp+90h] [rbp+18h] BYREF\n  int v16; // [rsp+98h] [rbp+20h] BYREF\n\n  v16 = a4;\n  v15 = a3;\n  v14 = a2;\n  v9 = a4;\n  p_m_unkVector230 = &a1->m_unkVector230;\n  Mylast = a1->m_unkVector230._Mypair._Myval2._Mylast;\n  if ( Mylast == a1->m_unkVector230._Mypair._Myval2._Myend )\n  {\n    sub_14026B070(\n      (_DWORD)a1 + 584,\n      (_DWORD)Mylast,\n      (unsigned int)&v14,\n      (unsigned int)&v15,\n      (__int64)&v16,\n      (__int64)&a6,\n      (__int64)&a5,\n      (__int64)a7,\n      (__int64)&a8,\n      (__int64)&a9);\n  }\n  else\n  {\n    Mylast->m_disabled = 0;\n    *(_QWORD *)&Mylast->m_blockAID = 0;\n    Mylast->m_remapKeys._Mypair._Myval2._Myfirst = nullptr;\n    Mylast->m_remapKeys._Mypair._Myval2._Mylast = nullptr;\n    Mylast->m_remapKeys._Mypair._Myval2._Myend = nullptr;\n    Mylast->m_targetGroupID = a2;\n    Mylast->m_triggerUniqueID = a8;\n    Mylast->m_controlID = a9;\n    Mylast->m_activateGroup = a6;\n    Mylast->m_triggerOnExit = a5;\n    sub_1400846D0((void **)&Mylast->m_remapKeys._Mypair._Myval2._Myfirst, (char **)a7);\n    v13 = a3;\n    if ( a3 < v9 )\n      v13 = v9;\n    Mylast->m_blockAID = v13;\n    if ( a3 < v9 )\n      v9 = a3;\n    Mylast->m_blockBID = v9;\n    ++p_m_unkVector230->_Mypair._Myval2._Mylast;\n  }\n}", "assembly": "; \n; GJEffectManager::registerCollisionTrigger from 0x14025c430 to 0x14025c539 (265 bytes)\n; \n; 4 xrefs:\n; > EffectGameObject::triggerObject @ 0x1404a6fd6\n; > EffectGameObject::triggerObject @ 0x1404a70eb\n; > EffectGameObject::triggerObject @ 0x1404a71b3\n; > <???> @ 0x1406cfdec\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\nmov     r11, rsp                                                       ; +0x0, 0x14025c430\nmov     [r11+20h], r9d                                                 ; +0x3, 0x14025c433\nmov     [r11+18h], r8d                                                 ; +0x7, 0x14025c437\nmov     [rsp+arg_8], edx                                               ; +0xb, 0x14025c43b\npush    rbx                                                            ; +0xf, 0x14025c43f\npush    rbp                                                            ; +0x10, 0x14025c440\npush    rsi                                                            ; +0x11, 0x14025c441\npush    rdi                                                            ; +0x12, 0x14025c442\nsub     rsp, 58h                                                       ; +0x13, 0x14025c443\nmov     esi, r9d                                                       ; +0x17, 0x14025c447\nmov     ebp, r8d                                                       ; +0x1a, 0x14025c44a\nlea     rdi, [rcx+248h]                                                ; +0x1d, 0x14025c44d\nmov     rbx, [rdi+8]                                                   ; +0x24, 0x14025c454\ncmp     rbx, [rdi+10h]                                                 ; +0x28, 0x14025c458\njz      short loc_14025C4C7                                            ; +0x2c, 0x14025c45c\nmov     [r11+8], rbx                                                   ; +0x2e, 0x14025c45e\nmov     byte ptr [rbx], 0                                              ; +0x32, 0x14025c462\nxor     eax, eax                                                       ; +0x35, 0x14025c465\nmov     [rbx+4], rax                                                   ; +0x37, 0x14025c467\nlea     rcx, [rbx+20h]                                                 ; +0x3b, 0x14025c46b\nmov     [rcx], rax                                                     ; +0x3f, 0x14025c46f\nmov     [rcx+8], rax                                                   ; +0x42, 0x14025c472\nmov     [rcx+10h], rax                                                 ; +0x46, 0x14025c476\nmov     [rbx+0Ch], edx                                                 ; +0x4a, 0x14025c47a\nmov     eax, [r11+40h]                                                 ; +0x4d, 0x14025c47d\nmov     [rbx+18h], eax                                                 ; +0x51, 0x14025c481\nmov     eax, [r11+48h]                                                 ; +0x54, 0x14025c484\nmov     [rbx+1Ch], eax                                                 ; +0x58, 0x14025c488\nmovzx   eax, byte ptr [r11+30h]                                        ; +0x5b, 0x14025c48b\nmov     [rbx+14h], al                                                  ; +0x60, 0x14025c490\nmovzx   eax, byte ptr [r11+28h]                                        ; +0x63, 0x14025c493\nmov     [rbx+10h], eax                                                 ; +0x68, 0x14025c498\nmov     rdx, [rsp+78h+arg_30]                                          ; +0x6b, 0x14025c49b\ncall    sub_1400846D0                                                  ; +0x73, 0x14025c4a3\nnop                                                                    ; +0x78, 0x14025c4a8\nmov     eax, ebp                                                       ; +0x79, 0x14025c4a9\ncmp     ebp, esi                                                       ; +0x7b, 0x14025c4ab\ncmovl   eax, esi                                                       ; +0x7d, 0x14025c4ad\nmov     [rbx+4], eax                                                   ; +0x80, 0x14025c4b0\ncmovl   esi, ebp                                                       ; +0x83, 0x14025c4b3\nmov     [rbx+8], esi                                                   ; +0x86, 0x14025c4b6\nadd     qword ptr [rdi+8], 38h ; '8'                                   ; +0x89, 0x14025c4b9\nadd     rsp, 58h                                                       ; +0x8e, 0x14025c4be\npop     rdi                                                            ; +0x92, 0x14025c4c2\npop     rsi                                                            ; +0x93, 0x14025c4c3\npop     rbp                                                            ; +0x94, 0x14025c4c4\npop     rbx                                                            ; +0x95, 0x14025c4c5\nretn                                                                   ; +0x96, 0x14025c4c6\nlea     rax, [rsp+78h+arg_40]                                          ; +0x97, 0x14025c4c7\nmov     [rsp+78h+var_30], rax                                          ; +0x9f, 0x14025c4cf\nlea     rax, [rsp+78h+arg_38]                                          ; +0xa4, 0x14025c4d4\nmov     [rsp+78h+var_38], rax                                          ; +0xac, 0x14025c4dc\nmov     rax, [rsp+78h+arg_30]                                          ; +0xb1, 0x14025c4e1\nmov     [rsp+78h+var_40], rax                                          ; +0xb9, 0x14025c4e9\nlea     rax, [rsp+78h+arg_20]                                          ; +0xbe, 0x14025c4ee\nmov     [rsp+78h+var_48], rax                                          ; +0xc6, 0x14025c4f6\nlea     rax, [rsp+78h+arg_28]                                          ; +0xcb, 0x14025c4fb\nmov     [rsp+78h+var_50], rax                                          ; +0xd3, 0x14025c503\nlea     rax, [rsp+78h+arg_18]                                          ; +0xd8, 0x14025c508\nmov     [rsp+78h+var_58], rax                                          ; +0xe0, 0x14025c510\nlea     r9, [rsp+78h+arg_10]                                           ; +0xe5, 0x14025c515\nlea     r8, [rsp+78h+arg_8]                                            ; +0xed, 0x14025c51d\nmov     rdx, rbx                                                       ; +0xf5, 0x14025c525\nmov     rcx, rdi                                                       ; +0xf8, 0x14025c528\ncall    sub_14026B070                                                  ; +0xfb, 0x14025c52b\nadd     rsp, 58h                                                       ; +0x100, 0x14025c530\npop     rdi                                                            ; +0x104, 0x14025c534\npop     rsi                                                            ; +0x105, 0x14025c535\npop     rbp                                                            ; +0x106, 0x14025c536\npop     rbx                                                            ; +0x107, 0x14025c537\nretn                                                                   ; +0x108, 0x14025c538", "xrefs": ["EffectGameObject::triggerObject @ 0x1404a6fd6", "EffectGameObject::triggerObject @ 0x1404a70eb", "EffectGameObject::triggerObject @ 0x1404a71b3", "<???> @ 0x1406cfdec"], "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"}