{"type": "func", "start": 9014472, "end": 9014904, "name": "CameraTriggerGameObject::triggerObject", "pseudocode": "// \n// CameraTriggerGameObject::triggerObject from 0x898cc8 to 0x898e78 (432 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xf0370\n// > <???> @ 0x1453300\n// \n// This function is hookable on this platform (idp: arm, 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:56:11 +0000\n// \n\n__int64 __fastcall CameraTriggerGameObject::triggerObject(\n        SFXTriggerGameObject *a1,\n        GJBaseGameLayer *this,\n        int a3,\n        const void **a4)\n{\n  __int64 result; // x0\n  int v7; // w0\n  bool v8; // w2\n  bool v9; // w7\n\n  result = *((unsigned int *)a1 + 257);\n  if ( (_DWORD)result == 2015 )\n    return (*(__int64 (__fastcall **)(GJBaseGameLayer *, _QWORD, _QWORD, _QWORD, _QWORD, _QWORD, float, float, float))(*(_QWORD *)this + 1432LL))(\n             this,\n             *((unsigned __int8 *)a1 + 1552),\n             *((unsigned __int8 *)a1 + 1525),\n             *((unsigned int *)a1 + 374),\n             *((unsigned int *)a1 + 229),\n             *((unsigned int *)a1 + 418),\n             *((float *)a1 + 386),\n             *((float *)a1 + 363),\n             *((float *)a1 + 375));\n  if ( (int)result <= 2015 )\n  {\n    if ( (_DWORD)result == 1914 )\n    {\n      v7 = *((_DWORD *)a1 + 378);\n      v8 = v7 != 2;\n      v9 = v7 != 1;\n      if ( *((_BYTE *)a1 + 1840) )\n        return GJBaseGameLayer::exitStaticCamera(\n                 this,\n                 v8,\n                 v9,\n                 *((float *)a1 + 363),\n                 *((_DWORD *)a1 + 374),\n                 *((float *)a1 + 375),\n                 *((_BYTE *)a1 + 1852),\n                 *((float *)a1 + 464),\n                 *((_BYTE *)a1 + 1860));\n      else\n        return GJBaseGameLayer::updateStaticCameraPosToGroup(\n                 this,\n                 *((_DWORD *)a1 + 367),\n                 v8,\n                 v9,\n                 *((_BYTE *)a1 + 1841),\n                 *((float *)a1 + 461),\n                 *((float *)a1 + 363),\n                 *((_DWORD *)a1 + 374),\n                 *((float *)a1 + 375),\n                 *((_BYTE *)a1 + 1852),\n                 *((float *)a1 + 464));\n    }\n    else\n    {\n      if ( (_DWORD)result != 1916 )\n        return EffectGameObject::triggerObject(a1, (GJEffectManager **)this, a3, a4);\n      if ( *((_DWORD *)a1 + 378) == 2 )\n        return GJBaseGameLayer::updateCameraOffsetY(\n                 this,\n                 *((float *)a1 + 373),\n                 *((float *)a1 + 363),\n                 *((_DWORD *)a1 + 374),\n                 *((float *)a1 + 375),\n                 *((_DWORD *)a1 + 229),\n                 *((_DWORD *)a1 + 418));\n      GJBaseGameLayer::updateCameraOffsetX(\n        this,\n        *((float *)a1 + 372),\n        *((float *)a1 + 363),\n        *((_DWORD *)a1 + 374),\n        *((float *)a1 + 375),\n        *((_DWORD *)a1 + 229),\n        *((_DWORD *)a1 + 418));\n      result = *((unsigned int *)a1 + 378);\n      if ( (_DWORD)result != 1 )\n        return GJBaseGameLayer::updateCameraOffsetY(\n                 this,\n                 *((float *)a1 + 373),\n                 *((float *)a1 + 363),\n                 *((_DWORD *)a1 + 374),\n                 *((float *)a1 + 375),\n                 *((_DWORD *)a1 + 229),\n                 *((_DWORD *)a1 + 418));\n    }\n  }\n  else\n  {\n    switch ( (_DWORD)result )\n    {\n      case 0x80E:\n        return GJBaseGameLayer::updateCameraEdge(this, *((_DWORD *)a1 + 462), *((_DWORD *)a1 + 366));\n      case 0xB6D:\n        return GJBaseGameLayer::updateCameraMode(this, a1, 1);\n      case 0x7E0:\n        break;\n      default:\n        return EffectGameObject::triggerObject(a1, (GJEffectManager **)this, a3, a4);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CameraTriggerGameObject::triggerObject from 0x898cc8 to 0x898e78 (432 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xf0370\n; > <???> @ 0x1453300\n; \n; This function is hookable on this platform (idp: arm, 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:56:11 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x898cc8\nMOV             X29, SP                                                ; +0x4, 0x898ccc\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x898cd0\nMOV             X19, X0                                                ; +0xc, 0x898cd4\nMOV             X20, X1                                                ; +0x10, 0x898cd8\nLDR             W0, [X0,#0x404]                                        ; +0x14, 0x898cdc\nCMP             W0, #0x7DF                                             ; +0x18, 0x898ce0\nB.EQ            loc_898D18                                             ; +0x1c, 0x898ce4\nB.LE            loc_898D54                                             ; +0x20, 0x898ce8\nCMP             W0, #0x80E                                             ; +0x24, 0x898cec\nB.EQ            loc_898D98                                             ; +0x28, 0x898cf0\nCMP             W0, #0xB6D                                             ; +0x2c, 0x898cf4\nB.EQ            loc_898E00                                             ; +0x30, 0x898cf8\nCMP             W0, #0x7E0                                             ; +0x34, 0x898cfc\nB.EQ            loc_898D48                                             ; +0x38, 0x898d00\nMOV             X0, X19; SFXTriggerGameObject *                        ; +0x3c, 0x898d04\nMOV             X1, X20; this                                          ; +0x40, 0x898d08\nLDP             X19, X20, [SP,#var_s10]                                ; +0x44, 0x898d0c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x48, 0x898d10\nB               _ZN16EffectGameObject13triggerObjectEP15GJBaseGameLayeriPKNSt6__ndk16vectorIiNS2_9allocatorIiEEEE; EffectGameObject::triggerObject(GJBaseGameLayer *,int,std::vector<int> const*) ; +0x4c, 0x898d14\nLDR             X3, [X1]                                               ; +0x50, 0x898d18\nMOV             X0, X1                                                 ; +0x54, 0x898d1c\nLDR             S0, [X19,#0x608]                                       ; +0x58, 0x898d20\nLDRB            W1, [X19,#0x610]                                       ; +0x5c, 0x898d24\nLDR             S1, [X19,#0x5AC]                                       ; +0x60, 0x898d28\nLDRB            W2, [X19,#0x5F5]                                       ; +0x64, 0x898d2c\nLDR             S2, [X19,#0x5DC]                                       ; +0x68, 0x898d30\nLDR             X6, [X3,#0x598]                                        ; +0x6c, 0x898d34\nLDR             W4, [X19,#0x394]                                       ; +0x70, 0x898d38\nLDR             W3, [X19,#0x5D8]                                       ; +0x74, 0x898d3c\nLDR             W5, [X19,#0x688]                                       ; +0x78, 0x898d40\nBLR             X6                                                     ; +0x7c, 0x898d44\nLDP             X19, X20, [SP,#var_s10]                                ; +0x80, 0x898d48\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x84, 0x898d4c\nRET                                                                    ; +0x88, 0x898d50\nCMP             W0, #0x77A                                             ; +0x8c, 0x898d54\nB.EQ            loc_898DB0                                             ; +0x90, 0x898d58\nCMP             W0, #0x77C                                             ; +0x94, 0x898d5c\nB.NE            loc_898D04                                             ; +0x98, 0x898d60\nLDR             W0, [X19,#0x5E8]                                       ; +0x9c, 0x898d64\nCMP             W0, #2                                                 ; +0xa0, 0x898d68\nB.NE            loc_898E18                                             ; +0xa4, 0x898d6c\nLDR             S0, [X19,#0x5D4]; float                                ; +0xa8, 0x898d70\nLDR             W1, [X19,#0x5D8]; int                                  ; +0xac, 0x898d74\nLDR             S1, [X19,#0x5AC]; float                                ; +0xb0, 0x898d78\nLDR             W2, [X19,#0x394]; int                                  ; +0xb4, 0x898d7c\nLDR             S2, [X19,#0x5DC]; float                                ; +0xb8, 0x898d80\nLDR             W3, [X19,#0x688]; int                                  ; +0xbc, 0x898d84\nMOV             X0, X20; this                                          ; +0xc0, 0x898d88\nLDP             X19, X20, [SP,#var_s10]                                ; +0xc4, 0x898d8c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xc8, 0x898d90\nB               _ZN15GJBaseGameLayer19updateCameraOffsetYEffifii; GJBaseGameLayer::updateCameraOffsetY(float,float,int,float,int,int) ; +0xcc, 0x898d94\nLDR             W1, [X19,#0x738]; int                                  ; +0xd0, 0x898d98\nMOV             X0, X20; this                                          ; +0xd4, 0x898d9c\nLDR             W2, [X19,#0x5B8]; int                                  ; +0xd8, 0x898da0\nLDP             X19, X20, [SP,#var_s10]                                ; +0xdc, 0x898da4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xe0, 0x898da8\nB               _ZN15GJBaseGameLayer16updateCameraEdgeEii; GJBaseGameLayer::updateCameraEdge(int,int) ; +0xe4, 0x898dac\nLDR             W0, [X19,#0x5E8]                                       ; +0xe8, 0x898db0\nLDRB            W1, [X19,#0x730]                                       ; +0xec, 0x898db4\nCMP             W0, #2                                                 ; +0xf0, 0x898db8\nCSET            W2, NE; bool                                           ; +0xf4, 0x898dbc\nCMP             W0, #1                                                 ; +0xf8, 0x898dc0\nCSET            W7, NE                                                 ; +0xfc, 0x898dc4\nCBNZ            W1, loc_898E48                                         ; +0x100, 0x898dc8\nLDR             S0, [X19,#0x734]; float                                ; +0x104, 0x898dcc\nLDR             W1, [X19,#0x5BC]; int                                  ; +0x108, 0x898dd0\nLDR             S1, [X19,#0x5AC]; float                                ; +0x10c, 0x898dd4\nLDRB            W4, [X19,#0x731]; bool                                 ; +0x110, 0x898dd8\nLDR             S2, [X19,#0x5DC]; float                                ; +0x114, 0x898ddc\nLDR             W5, [X19,#0x5D8]; int                                  ; +0x118, 0x898de0\nLDR             S3, [X19,#0x740]; float                                ; +0x11c, 0x898de4\nLDRB            W6, [X19,#0x73C]; bool                                 ; +0x120, 0x898de8\nMOV             X0, X20; this                                          ; +0x124, 0x898dec\nMOV             W3, W7; bool                                           ; +0x128, 0x898df0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x12c, 0x898df4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x130, 0x898df8\nB               _ZN15GJBaseGameLayer28updateStaticCameraPosToGroupEibbbffifbf; GJBaseGameLayer::updateStaticCameraPosToGroup(int,bool,bool,bool,float,float,int,float,bool,float) ; +0x134, 0x898dfc\nMOV             X0, X1; this                                           ; +0x138, 0x898e00\nMOV             X1, X19; EffectGameObject *                            ; +0x13c, 0x898e04\nLDP             X19, X20, [SP,#var_s10]                                ; +0x140, 0x898e08\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x144, 0x898e0c\nMOV             W2, #1; bool                                           ; +0x148, 0x898e10\nB               _ZN15GJBaseGameLayer16updateCameraModeEP16EffectGameObjectb; GJBaseGameLayer::updateCameraMode(EffectGameObject *,bool) ; +0x14c, 0x898e14\nLDR             S0, [X19,#0x5D0]; float                                ; +0x150, 0x898e18\nLDR             W1, [X19,#0x5D8]; int                                  ; +0x154, 0x898e1c\nLDR             S1, [X19,#0x5AC]; float                                ; +0x158, 0x898e20\nLDR             W2, [X19,#0x394]; int                                  ; +0x15c, 0x898e24\nLDR             S2, [X19,#0x5DC]; float                                ; +0x160, 0x898e28\nLDR             W3, [X19,#0x688]; int                                  ; +0x164, 0x898e2c\nMOV             X0, X20; this                                          ; +0x168, 0x898e30\nBL              _ZN15GJBaseGameLayer19updateCameraOffsetXEffifii; GJBaseGameLayer::updateCameraOffsetX(float,float,int,float,int,int) ; +0x16c, 0x898e34\nLDR             W0, [X19,#0x5E8]                                       ; +0x170, 0x898e38\nCMP             W0, #1                                                 ; +0x174, 0x898e3c\nB.EQ            loc_898D48                                             ; +0x178, 0x898e40\nB               loc_898D70                                             ; +0x17c, 0x898e44\nLDR             S0, [X19,#0x5AC]; float                                ; +0x180, 0x898e48\nLDR             W3, [X19,#0x5D8]; int                                  ; +0x184, 0x898e4c\nLDR             S1, [X19,#0x5DC]; float                                ; +0x188, 0x898e50\nLDRB            W4, [X19,#0x73C]; bool                                 ; +0x18c, 0x898e54\nLDR             S2, [X19,#0x740]; float                                ; +0x190, 0x898e58\nLDRB            W5, [X19,#0x744]; bool                                 ; +0x194, 0x898e5c\nMOV             X0, X20; this                                          ; +0x198, 0x898e60\nMOV             W1, W2; bool                                           ; +0x19c, 0x898e64\nLDP             X19, X20, [SP,#var_s10]                                ; +0x1a0, 0x898e68\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x1a4, 0x898e6c\nMOV             W2, W7; bool                                           ; +0x1a8, 0x898e70\nB               _ZN15GJBaseGameLayer16exitStaticCameraEbbfifbfb; GJBaseGameLayer::exitStaticCamera(bool,bool,float,int,float,bool,float,bool) ; +0x1ac, 0x898e74", "xrefs": ["<???> @ 0xf0370", "<???> @ 0x1453300"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}