{"type": "func", "start": 5371207664, "end": 5371207903, "name": "GJEffectManager::storeTriggeredID", "pseudocode": "// \n// GJEffectManager::storeTriggeredID from 0x140261ff0 to 0x1402620df (239 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::collisionCheckObjects @ 0x140215ccb\n// > GJBaseGameLayer::collisionCheckObjects @ 0x140215d8e\n// > GJBaseGameLayer::playerTouchedTrigger @ 0x1402180a2\n// > <???> @ 0x1406d00b0\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::storeTriggeredID(GJEffectManager *a1, int a2, int a3)\n{\n  std::set<std::pair<int, int>> *p_m_unkMap498; // rbx\n  std::_Tree_val<std::_Tree_simple_types<std::pair<int, int>>>::_Nodeptr Myhead; // rdi\n  std::_Tree_simple_types<std::pair<int, int>>::_Node *v5; // rax\n  std::_Tree_val<std::_Tree_simple_types<std::pair<int, int>>>::_Nodeptr v6; // r9\n  std::_Tree_val<std::_Tree_simple_types<std::pair<int, int>>>::_Nodeptr *v7; // rax\n  __int128 v8; // [rsp+20h] [rbp-38h] BYREF\n  __int128 v9; // [rsp+30h] [rbp-28h]\n  std::_Tree_simple_types<std::pair<int, int>>::_Node *v10; // [rsp+60h] [rbp+8h]\n\n  LODWORD(v10) = a2;\n  HIDWORD(v10) = a3;\n  p_m_unkMap498 = &a1->m_unkMap498;\n  Myhead = a1->m_unkMap498._Mypair._Myval2._Myval2._Myhead;\n  v5 = *((std::_Tree_simple_types<std::pair<int, int>>::_Node **)Myhead + 1);\n  *(_QWORD *)&v9 = v5;\n  DWORD2(v9) = 0;\n  v6 = Myhead;\n  while ( !*((_BYTE *)v5 + 25) )\n  {\n    *(_QWORD *)&v9 = v5;\n    if ( *((_DWORD *)v5 + 7) < a2 || *((_DWORD *)v5 + 7) <= a2 && *((_DWORD *)v5 + 8) < a3 )\n    {\n      DWORD2(v9) = 0;\n      v5 = *((std::_Tree_simple_types<std::pair<int, int>>::_Node **)v5 + 2);\n    }\n    else\n    {\n      DWORD2(v9) = 1;\n      v6 = v5;\n      v5 = *(std::_Tree_simple_types<std::pair<int, int>>::_Node **)v5;\n    }\n  }\n  if ( *((_BYTE *)v6 + 25) || a2 < *((_DWORD *)v6 + 7) || a2 <= *((_DWORD *)v6 + 7) && a3 < *((_DWORD *)v6 + 8) )\n  {\n    if ( a1->m_unkMap498._Mypair._Myval2._Myval2._Mysize == 0x666666666666666LL )\n      sub_140052E40(a1, a2, a3);\n    v7 = (std::_Tree_val<std::_Tree_simple_types<std::pair<int, int>>>::_Nodeptr *)operator new(0x28u);\n    *(std::_Tree_val<std::_Tree_simple_types<std::pair<int, int>>>::_Nodeptr *)((char *)v7 + 28) = v10;\n    *v7 = Myhead;\n    v7[1] = Myhead;\n    v7[2] = Myhead;\n    *((_WORD *)v7 + 12) = 0;\n    v8 = v9;\n    sub_1400636D0(p_m_unkMap498, (__int64)&v8, (__int64)v7);\n  }\n}", "assembly": "; \n; GJEffectManager::storeTriggeredID from 0x140261ff0 to 0x1402620df (239 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::collisionCheckObjects @ 0x140215ccb\n; > GJBaseGameLayer::collisionCheckObjects @ 0x140215d8e\n; > GJBaseGameLayer::playerTouchedTrigger @ 0x1402180a2\n; > <???> @ 0x1406d00b0\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     [rsp+arg_8], rbx                                               ; +0x0, 0x140261ff0\npush    rdi                                                            ; +0x5, 0x140261ff5\nsub     rsp, 50h                                                       ; +0x6, 0x140261ff6\nmov     dword ptr [rsp+58h+arg_0], edx                                 ; +0xa, 0x140261ffa\nmov     dword ptr [rsp+58h+arg_0+4], r8d                               ; +0xe, 0x140261ffe\nlea     rbx, [rcx+558h]                                                ; +0x13, 0x140262003\nmov     rdi, [rbx]                                                     ; +0x1a, 0x14026200a\nmov     rax, [rdi+8]                                                   ; +0x1d, 0x14026200d\nmov     qword ptr [rsp+58h+var_28], rax                                ; +0x21, 0x140262011\nxor     r10d, r10d                                                     ; +0x26, 0x140262016\nmov     dword ptr [rsp+58h+var_28+8], r10d                             ; +0x29, 0x140262019\nmov     r9, rdi                                                        ; +0x2e, 0x14026201e\ncmp     [rax+19h], r10b                                                ; +0x31, 0x140262021\njnz     short loc_140262061                                            ; +0x35, 0x140262025\nnop     word ptr [rax+rax+00000000h]                                   ; +0x37, 0x140262027\nmov     qword ptr [rsp+58h+var_28], rax                                ; +0x40, 0x140262030\ncmp     [rax+1Ch], edx                                                 ; +0x45, 0x140262035\njl      short loc_140262052                                            ; +0x48, 0x140262038\njg      short loc_140262042                                            ; +0x4a, 0x14026203a\ncmp     [rax+20h], r8d                                                 ; +0x4c, 0x14026203c\njl      short loc_140262052                                            ; +0x50, 0x140262040\nmov     dword ptr [rsp+58h+var_28+8], 1                                ; +0x52, 0x140262042\nmov     r9, rax                                                        ; +0x5a, 0x14026204a\nmov     rax, [rax]                                                     ; +0x5d, 0x14026204d\njmp     short loc_14026205B                                            ; +0x60, 0x140262050\nmov     dword ptr [rsp+58h+var_28+8], r10d                             ; +0x62, 0x140262052\nmov     rax, [rax+10h]                                                 ; +0x67, 0x140262057\ncmp     [rax+19h], r10b                                                ; +0x6b, 0x14026205b\njz      short loc_140262030                                            ; +0x6f, 0x14026205f\ncmp     [r9+19h], r10b                                                 ; +0x71, 0x140262061\njnz     short loc_140262075                                            ; +0x75, 0x140262065\ncmp     edx, [r9+1Ch]                                                  ; +0x77, 0x140262067\njl      short loc_140262075                                            ; +0x7b, 0x14026206b\njg      short loc_1402620CE                                            ; +0x7d, 0x14026206d\ncmp     r8d, [r9+20h]                                                  ; +0x7f, 0x14026206f\njge     short loc_1402620CE                                            ; +0x83, 0x140262073\nmov     rax, 666666666666666h                                          ; +0x85, 0x140262075\ncmp     [rbx+8], rax                                                   ; +0x8f, 0x14026207f\njz      short loc_1402620D9                                            ; +0x93, 0x140262083\nmov     qword ptr [rsp+58h+var_38], rbx                                ; +0x95, 0x140262085\nmov     qword ptr [rsp+58h+var_38+8], r10                              ; +0x9a, 0x14026208a\nmov     ecx, 28h ; '('; Size                                           ; +0x9f, 0x14026208f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xa4, 0x140262094\nnop                                                                    ; +0xa9, 0x140262099\nmov     rdx, [rsp+58h+arg_0]                                           ; +0xaa, 0x14026209a\nmov     [rax+1Ch], rdx                                                 ; +0xaf, 0x14026209f\nmov     [rax], rdi                                                     ; +0xb3, 0x1402620a3\nmov     [rax+8], rdi                                                   ; +0xb6, 0x1402620a6\nmov     [rax+10h], rdi                                                 ; +0xba, 0x1402620aa\nmov     word ptr [rax+18h], 0                                          ; +0xbe, 0x1402620ae\nmovups  xmm0, [rsp+58h+var_28]                                         ; +0xc4, 0x1402620b4\nmovaps  [rsp+58h+var_38], xmm0                                         ; +0xc9, 0x1402620b9\nmov     r8, rax                                                        ; +0xce, 0x1402620be\nlea     rdx, [rsp+58h+var_38]                                          ; +0xd1, 0x1402620c1\nmov     rcx, rbx                                                       ; +0xd6, 0x1402620c6\ncall    sub_1400636D0                                                  ; +0xd9, 0x1402620c9\nmov     rbx, [rsp+58h+arg_8]                                           ; +0xde, 0x1402620ce\nadd     rsp, 50h                                                       ; +0xe3, 0x1402620d3\npop     rdi                                                            ; +0xe7, 0x1402620d7\nretn                                                                   ; +0xe8, 0x1402620d8\ncall    sub_140052E40                                                  ; +0xe9, 0x1402620d9\ndb 0CCh                                                                ; +0xee, 0x1402620de", "xrefs": ["GJBaseGameLayer::collisionCheckObjects @ 0x140215ccb", "GJBaseGameLayer::collisionCheckObjects @ 0x140215d8e", "GJBaseGameLayer::playerTouchedTrigger @ 0x1402180a2", "<???> @ 0x1406d00b0"], "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"}