{"type": "func", "start": 4296797904, "end": 4296798498, "name": "CameraTriggerGameObject::triggerObject", "pseudocode": "// \n// CameraTriggerGameObject::triggerObject from 0x1001beed0 to 0x1001bf122 (594 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ad7010\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:26:14 +0000\n// \n\nvoid __fastcall CameraTriggerGameObject::triggerObject(\n        unsigned __int64 a1,\n        _DWORD *a2,\n        __int64 a3,\n        __int64 a4,\n        __m128 a5)\n{\n  int v5; // eax\n  int v6; // r8d\n\n  v5 = *(_DWORD *)(a1 + 1028);\n  if ( v5 > 2015 )\n  {\n    if ( v5 == 2016 )\n      return;\n    if ( v5 != 2062 )\n    {\n      if ( v5 == 2925 )\n      {\n        GJBaseGameLayer::updateCameraMode((__int64)a2, a1, 1u);\n        return;\n      }\n      goto LABEL_12;\n    }\n    GJBaseGameLayer::updateCameraEdge(a2, *(_DWORD *)(a1 + 1848), *(_DWORD *)(a1 + 1464));\n  }\n  else\n  {\n    switch ( v5 )\n    {\n      case 1914:\n        v6 = *(_DWORD *)(a1 + 1512);\n        if ( *(_BYTE *)(a1 + 1840) )\n          GJBaseGameLayer::exitStaticCamera(\n            (__int64)a2,\n            v6 != 2,\n            v6 != 1,\n            *(_DWORD *)(a1 + 1496),\n            *(unsigned __int8 *)(a1 + 1852),\n            *(unsigned __int8 *)(a1 + 1860),\n            *(float *)(a1 + 1452),\n            *(float *)(a1 + 1500),\n            *(float *)(a1 + 1856));\n        else\n          GJBaseGameLayer::updateStaticCameraPosToGroup(\n            (__int64)a2,\n            *(_DWORD *)(a1 + 1468),\n            v6 != 2,\n            v6 != 1,\n            *(_BYTE *)(a1 + 1841),\n            *(_DWORD *)(a1 + 1496),\n            *(float *)(a1 + 1844),\n            *(float *)(a1 + 1452),\n            *(float *)(a1 + 1500),\n            *(float *)(a1 + 1856),\n            *(_BYTE *)(a1 + 1852));\n        break;\n      case 1916:\n        if ( *(_DWORD *)(a1 + 1512) == 2\n          || (GJBaseGameLayer::updateCameraOffsetX(\n                (__int64)a2,\n                *(_DWORD *)(a1 + 1496),\n                *(_DWORD *)(a1 + 916),\n                *(_DWORD *)(a1 + 1672),\n                *(float *)(a1 + 1488),\n                *(float *)(a1 + 1452),\n                *(float *)(a1 + 1500)),\n              *(_DWORD *)(a1 + 1512) != 1) )\n        {\n          GJBaseGameLayer::updateCameraOffsetY(\n            (__int64)a2,\n            *(_DWORD *)(a1 + 1496),\n            *(_DWORD *)(a1 + 916),\n            *(_DWORD *)(a1 + 1672),\n            *(float *)(a1 + 1492),\n            *(float *)(a1 + 1452),\n            *(float *)(a1 + 1500));\n        }\n        break;\n      case 2015:\n        (*(void (__fastcall **)(_DWORD *, _QWORD, _QWORD, _QWORD, _QWORD, _QWORD, float, float, float))(*(_QWORD *)a2 + 1432LL))(\n          a2,\n          *(unsigned __int8 *)(a1 + 1552),\n          *(unsigned __int8 *)(a1 + 1525),\n          *(unsigned int *)(a1 + 1496),\n          *(unsigned int *)(a1 + 916),\n          *(unsigned int *)(a1 + 1672),\n          *(float *)(a1 + 1544),\n          *(float *)(a1 + 1452),\n          *(float *)(a1 + 1500));\n        return;\n      default:\nLABEL_12:\n        EffectGameObject::triggerObject(a1, a2, a3, a4, a5);\n        return;\n    }\n  }\n}", "assembly": "; \n; CameraTriggerGameObject::triggerObject from 0x1001beed0 to 0x1001bf122 (594 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ad7010\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:26:14 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001beed0\nmov     rbp, rsp                                                       ; +0x1, 0x1001beed1\npush    r14                                                            ; +0x4, 0x1001beed4\npush    rbx                                                            ; +0x6, 0x1001beed6\nsub     rsp, 10h                                                       ; +0x7, 0x1001beed7\nmov     eax, [rdi+404h]                                                ; +0xb, 0x1001beedb\ncmp     eax, 7DFh                                                      ; +0x11, 0x1001beee1\njg      short loc_1001BEF5D                                            ; +0x16, 0x1001beee6\ncmp     eax, 77Ah                                                      ; +0x18, 0x1001beee8\njz      loc_1001BEF99                                                  ; +0x1d, 0x1001beeed\ncmp     eax, 77Ch                                                      ; +0x23, 0x1001beef3\njz      loc_1001BF00C                                                  ; +0x28, 0x1001beef8\ncmp     eax, 7DFh                                                      ; +0x2e, 0x1001beefe\njnz     loc_1001BEFFF                                                  ; +0x33, 0x1001bef03\nmovss   xmm0, dword ptr [rdi+608h]                                     ; +0x39, 0x1001bef09\nmovzx   eax, byte ptr [rdi+610h]                                       ; +0x41, 0x1001bef11\nmovzx   edx, byte ptr [rdi+5F5h]                                       ; +0x48, 0x1001bef18\nmovss   xmm1, dword ptr [rdi+5ACh]                                     ; +0x4f, 0x1001bef1f\nmov     ecx, [rdi+5D8h]                                                ; +0x57, 0x1001bef27\nmovss   xmm2, dword ptr [rdi+5DCh]                                     ; +0x5d, 0x1001bef2d\nmov     r8d, [rdi+394h]                                                ; +0x65, 0x1001bef35\nmov     r9d, [rdi+688h]                                                ; +0x6c, 0x1001bef3c\nmov     rdi, [rsi]                                                     ; +0x73, 0x1001bef43\nmov     r11, [rdi+598h]                                                ; +0x76, 0x1001bef46\nmov     rdi, rsi                                                       ; +0x7d, 0x1001bef4d\nmov     esi, eax                                                       ; +0x80, 0x1001bef50\nadd     rsp, 10h                                                       ; +0x82, 0x1001bef52\npop     rbx                                                            ; +0x86, 0x1001bef56\npop     r14                                                            ; +0x87, 0x1001bef57\npop     rbp                                                            ; +0x89, 0x1001bef59\njmp     r11                                                            ; +0x8a, 0x1001bef5a\ncmp     eax, 7E0h                                                      ; +0x8d, 0x1001bef5d\njz      loc_1001BF119                                                  ; +0x92, 0x1001bef62\ncmp     eax, 80Eh                                                      ; +0x98, 0x1001bef68\njz      loc_1001BF09E                                                  ; +0x9d, 0x1001bef6d\ncmp     eax, 0B6Dh                                                     ; +0xa3, 0x1001bef73\njnz     loc_1001BEFFF                                                  ; +0xa8, 0x1001bef78\nmov     rax, rdi                                                       ; +0xae, 0x1001bef7e\nmov     rdi, rsi                                                       ; +0xb1, 0x1001bef81\nmov     rsi, rax                                                       ; +0xb4, 0x1001bef84\nmov     edx, 1                                                         ; +0xb7, 0x1001bef87\nadd     rsp, 10h                                                       ; +0xbc, 0x1001bef8c\npop     rbx                                                            ; +0xc0, 0x1001bef90\npop     r14                                                            ; +0xc1, 0x1001bef91\npop     rbp                                                            ; +0xc3, 0x1001bef93\njmp     GJBaseGameLayer__updateCameraMode                              ; +0xc4, 0x1001bef94\nmov     r8d, [rdi+5E8h]                                                ; +0xc9, 0x1001bef99\ncmp     byte ptr [rdi+730h], 0                                         ; +0xd0, 0x1001befa0\njz      loc_1001BF0BC                                                  ; +0xd7, 0x1001befa7\nxor     edx, edx                                                       ; +0xdd, 0x1001befad\ncmp     r8d, 1                                                         ; +0xdf, 0x1001befaf\nsetnz   dl                                                             ; +0xe3, 0x1001befb3\nxor     eax, eax                                                       ; +0xe6, 0x1001befb6\ncmp     r8d, 2                                                         ; +0xe8, 0x1001befb8\nsetnz   al                                                             ; +0xec, 0x1001befbc\nmovss   xmm0, dword ptr [rdi+5ACh]                                     ; +0xef, 0x1001befbf\nmov     ecx, [rdi+5D8h]                                                ; +0xf7, 0x1001befc7\nmovss   xmm1, dword ptr [rdi+5DCh]                                     ; +0xfd, 0x1001befcd\nmovzx   r8d, byte ptr [rdi+73Ch]                                       ; +0x105, 0x1001befd5\nmovss   xmm2, dword ptr [rdi+740h]                                     ; +0x10d, 0x1001befdd\nmovzx   r9d, byte ptr [rdi+744h]                                       ; +0x115, 0x1001befe5\nmov     rdi, rsi                                                       ; +0x11d, 0x1001befed\nmov     esi, eax                                                       ; +0x120, 0x1001beff0\nadd     rsp, 10h                                                       ; +0x122, 0x1001beff2\npop     rbx                                                            ; +0x126, 0x1001beff6\npop     r14                                                            ; +0x127, 0x1001beff7\npop     rbp                                                            ; +0x129, 0x1001beff9\njmp     GJBaseGameLayer__exitStaticCamera                              ; +0x12a, 0x1001beffa\nadd     rsp, 10h                                                       ; +0x12f, 0x1001befff\npop     rbx                                                            ; +0x133, 0x1001bf003\npop     r14                                                            ; +0x134, 0x1001bf004\npop     rbp                                                            ; +0x136, 0x1001bf006\njmp     EffectGameObject__triggerObject                                ; +0x137, 0x1001bf007\ncmp     dword ptr [rdi+5E8h], 2                                        ; +0x13c, 0x1001bf00c\njz      short loc_1001BF062                                            ; +0x143, 0x1001bf013\nmovss   xmm0, dword ptr [rdi+5D0h]                                     ; +0x145, 0x1001bf015\nmovss   xmm1, dword ptr [rdi+5ACh]                                     ; +0x14d, 0x1001bf01d\nmov     eax, [rdi+5D8h]                                                ; +0x155, 0x1001bf025\nmovss   xmm2, dword ptr [rdi+5DCh]                                     ; +0x15b, 0x1001bf02b\nmov     edx, [rdi+394h]                                                ; +0x163, 0x1001bf033\nmov     ecx, [rdi+688h]                                                ; +0x169, 0x1001bf039\nmov     rbx, rdi                                                       ; +0x16f, 0x1001bf03f\nmov     rdi, rsi                                                       ; +0x172, 0x1001bf042\nmov     r14, rsi                                                       ; +0x175, 0x1001bf045\nmov     esi, eax                                                       ; +0x178, 0x1001bf048\ncall    GJBaseGameLayer__updateCameraOffsetX                           ; +0x17a, 0x1001bf04a\nmov     rdi, rbx                                                       ; +0x17f, 0x1001bf04f\nmov     rsi, r14                                                       ; +0x182, 0x1001bf052\ncmp     dword ptr [rbx+5E8h], 1                                        ; +0x185, 0x1001bf055\njz      loc_1001BF119                                                  ; +0x18c, 0x1001bf05c\nmovss   xmm0, dword ptr [rdi+5D4h]                                     ; +0x192, 0x1001bf062\nmovss   xmm1, dword ptr [rdi+5ACh]                                     ; +0x19a, 0x1001bf06a\nmov     eax, [rdi+5D8h]                                                ; +0x1a2, 0x1001bf072\nmovss   xmm2, dword ptr [rdi+5DCh]                                     ; +0x1a8, 0x1001bf078\nmov     edx, [rdi+394h]                                                ; +0x1b0, 0x1001bf080\nmov     ecx, [rdi+688h]                                                ; +0x1b6, 0x1001bf086\nmov     rdi, rsi                                                       ; +0x1bc, 0x1001bf08c\nmov     esi, eax                                                       ; +0x1bf, 0x1001bf08f\nadd     rsp, 10h                                                       ; +0x1c1, 0x1001bf091\npop     rbx                                                            ; +0x1c5, 0x1001bf095\npop     r14                                                            ; +0x1c6, 0x1001bf096\npop     rbp                                                            ; +0x1c8, 0x1001bf098\njmp     GJBaseGameLayer__updateCameraOffsetY                           ; +0x1c9, 0x1001bf099\nmov     edx, [rdi+5B8h]                                                ; +0x1ce, 0x1001bf09e\nmov     eax, [rdi+738h]                                                ; +0x1d4, 0x1001bf0a4\nmov     rdi, rsi                                                       ; +0x1da, 0x1001bf0aa\nmov     esi, eax                                                       ; +0x1dd, 0x1001bf0ad\nadd     rsp, 10h                                                       ; +0x1df, 0x1001bf0af\npop     rbx                                                            ; +0x1e3, 0x1001bf0b3\npop     r14                                                            ; +0x1e4, 0x1001bf0b4\npop     rbp                                                            ; +0x1e6, 0x1001bf0b6\njmp     GJBaseGameLayer__updateCameraEdge                              ; +0x1e7, 0x1001bf0b7\nxor     ecx, ecx                                                       ; +0x1ec, 0x1001bf0bc\ncmp     r8d, 1                                                         ; +0x1ee, 0x1001bf0be\nsetnz   cl                                                             ; +0x1f2, 0x1001bf0c2\nxor     edx, edx                                                       ; +0x1f5, 0x1001bf0c5\ncmp     r8d, 2                                                         ; +0x1f7, 0x1001bf0c7\nsetnz   dl                                                             ; +0x1fb, 0x1001bf0cb\nmov     eax, [rdi+5BCh]                                                ; +0x1fe, 0x1001bf0ce\nmovzx   r8d, byte ptr [rdi+731h]                                       ; +0x204, 0x1001bf0d4\nmovss   xmm0, dword ptr [rdi+734h]                                     ; +0x20c, 0x1001bf0dc\nmovss   xmm1, dword ptr [rdi+5ACh]                                     ; +0x214, 0x1001bf0e4\nmov     r9d, [rdi+5D8h]                                                ; +0x21c, 0x1001bf0ec\nmovss   xmm2, dword ptr [rdi+5DCh]                                     ; +0x223, 0x1001bf0f3\nmovzx   r10d, byte ptr [rdi+73Ch]                                      ; +0x22b, 0x1001bf0fb\nmovss   xmm3, dword ptr [rdi+740h]                                     ; +0x233, 0x1001bf103\nmov     [rsp+20h+var_20], r10d                                         ; +0x23b, 0x1001bf10b\nmov     rdi, rsi                                                       ; +0x23f, 0x1001bf10f\nmov     esi, eax                                                       ; +0x242, 0x1001bf112\ncall    GJBaseGameLayer__updateStaticCameraPosToGroup                  ; +0x244, 0x1001bf114\nadd     rsp, 10h                                                       ; +0x249, 0x1001bf119\npop     rbx                                                            ; +0x24d, 0x1001bf11d\npop     r14                                                            ; +0x24e, 0x1001bf11e\npop     rbp                                                            ; +0x250, 0x1001bf120\nretn                                                                   ; +0x251, 0x1001bf121", "xrefs": ["<???> @ 0x100ad7010"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}