{"type": "func", "start": 4122080, "end": 4122504, "name": "CameraTriggerGameObject::triggerObject", "pseudocode": "// \n// CameraTriggerGameObject::triggerObject from 0x3ee5e0 to 0x3ee788 (424 bytes)\n// \n// 0 xrefs:\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 CameraTriggerGameObject::triggerObject(\n        CameraTriggerGameObject *a1,\n        GJBaseGameLayer *a2,\n        int a3,\n        std::vector<int> *const a4)\n{\n  int m_objectID; // r1\n  MoveTargetType m_moveTargetMode; // r3\n  float *p_m_duration; // r6\n  float *p_m_easingRate; // r7\n  EasingType m_easingType; // r2\n  bool m_smoothVelocity; // r0\n  float *p_m_velocityModifier; // r1\n  bool v13; // lr\n  bool v14; // r3\n\n  m_objectID = a1->m_objectID;\n  if ( m_objectID == 2015 )\n  {\n    ((void (__fastcall *)(GJBaseGameLayer *, _DWORD, bool, bool, _DWORD, EasingType, _DWORD, int, int))a2->updateScreenRotation)(\n      a2,\n      LODWORD(a1->m_rotationDegrees),\n      a1->m_lockObjectRotation,\n      a1->m_isDirectionFollowSnap360,\n      LODWORD(a1->m_duration),\n      a1->m_easingType,\n      LODWORD(a1->m_easingRate),\n      a1->m_uniqueID,\n      a1->m_controlID);\n    return;\n  }\n  if ( m_objectID >= 2016 )\n  {\n    if ( m_objectID == 2062 )\n    {\n      GJBaseGameLayer::updateCameraEdge(a2, a1->m_edgeDirection, a1->m_targetGroupID);\n      return;\n    }\n    if ( m_objectID == 2925 )\n    {\n      GJBaseGameLayer::updateCameraMode(a2, a1, 1);\n      return;\n    }\n    if ( m_objectID != 2016 )\n      goto LABEL_20;\n  }\n  else if ( m_objectID == 1914 )\n  {\n    m_moveTargetMode = a1->m_moveTargetMode;\n    p_m_duration = &a1->m_duration;\n    p_m_easingRate = &a1->m_easingRate;\n    m_easingType = a1->m_easingType;\n    m_smoothVelocity = a1->m_smoothVelocity;\n    p_m_velocityModifier = &a1->m_velocityModifier;\n    v13 = m_moveTargetMode != YOnly;\n    v14 = m_moveTargetMode != XOnly;\n    if ( a1->m_exitStatic )\n      GJBaseGameLayer::exitStaticCamera(\n        a2,\n        v13,\n        v14,\n        *p_m_duration,\n        a1->m_easingType,\n        *p_m_easingRate,\n        m_smoothVelocity,\n        *p_m_velocityModifier,\n        a1->m_exitInstant);\n    else\n      GJBaseGameLayer::updateStaticCameraPosToGroup(\n        a2,\n        a1->m_centerGroupID,\n        v13,\n        v14,\n        a1->m_followObject,\n        a1->m_followEasing,\n        *p_m_duration,\n        m_easingType,\n        *p_m_easingRate,\n        m_smoothVelocity,\n        *p_m_velocityModifier);\n  }\n  else\n  {\n    if ( m_objectID != 1916 )\n    {\nLABEL_20:\n      EffectGameObject::triggerObject(a1, a2, a3, a4);\n      return;\n    }\n    if ( a1->m_moveTargetMode != YOnly )\n      GJBaseGameLayer::updateCameraOffsetX(\n        a2,\n        a1->m_moveOffset.x,\n        a1->m_duration,\n        a1->m_easingType,\n        a1->m_easingRate,\n        a1->m_uniqueID,\n        a1->m_controlID);\n    if ( a1->m_moveTargetMode != XOnly )\n      GJBaseGameLayer::updateCameraOffsetY(\n        a2,\n        a1->m_moveOffset.y,\n        a1->m_duration,\n        a1->m_easingType,\n        a1->m_easingRate,\n        a1->m_uniqueID,\n        a1->m_controlID);\n  }\n}", "assembly": "; \n; CameraTriggerGameObject::triggerObject from 0x3ee5e0 to 0x3ee788 (424 bytes)\n; \n; 0 xrefs:\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-R7,LR}                                             ; +0x0, 0x3ee5e0\nMOV             R5, R1                                                 ; +0x2, 0x3ee5e2\nLDR.W           R1, [R0,#0x374]                                        ; +0x4, 0x3ee5e4\nMOV             R4, R0                                                 ; +0x8, 0x3ee5e8\nMOVW            R0, #0x7DF                                             ; +0xa, 0x3ee5ea\nSUB             SP, SP, #0x24                                          ; +0xe, 0x3ee5ee\nCMP             R1, R0                                                 ; +0x10, 0x3ee5f0\nBEQ.W           loc_3EE73A                                             ; +0x12, 0x3ee5f2\nCMP.W           R1, #0x7E0                                             ; +0x16, 0x3ee5f6\nBGE             loc_3EE60E                                             ; +0x1a, 0x3ee5fa\nMOVW            R0, #0x77A                                             ; +0x1c, 0x3ee5fc\nCMP             R1, R0                                                 ; +0x20, 0x3ee600\nBEQ             loc_3EE62A                                             ; +0x22, 0x3ee602\nMOVW            R0, #0x77C                                             ; +0x24, 0x3ee604\nCMP             R1, R0                                                 ; +0x28, 0x3ee608\nBEQ             loc_3EE6C4                                             ; +0x2a, 0x3ee60a\nB               loc_3EE776                                             ; +0x2c, 0x3ee60c\nMOVW            R0, #0x80E                                             ; +0x2e, 0x3ee60e\nCMP             R1, R0                                                 ; +0x32, 0x3ee612\nBEQ             loc_3EE6B0                                             ; +0x34, 0x3ee614\nMOVW            R0, #0xB6D                                             ; +0x36, 0x3ee616\nCMP             R1, R0                                                 ; +0x3a, 0x3ee61a\nBEQ.W           loc_3EE72A                                             ; +0x3c, 0x3ee61c\nCMP.W           R1, #0x7E0                                             ; +0x40, 0x3ee620\nBNE.W           loc_3EE776                                             ; +0x44, 0x3ee624\nB               loc_3EE784                                             ; +0x48, 0x3ee628\nLDR.W           R3, [R4,#0x52C]                                        ; +0x4a, 0x3ee62a\nADD.W           R6, R4, #0x4F0                                         ; +0x4e, 0x3ee62e\nLDRB.W          R12, [R4,#0x664]                                       ; +0x52, 0x3ee632\nADD.W           R7, R4, #0x520                                         ; +0x56, 0x3ee636\nSUBS.W          LR, R3, #2                                             ; +0x5a, 0x3ee63a\nLDR.W           R2, [R4,#0x51C]                                        ; +0x5e, 0x3ee63e\nLDRB.W          R0, [R4,#0x670]                                        ; +0x62, 0x3ee642\nADDW            R1, R4, #0x674                                         ; +0x66, 0x3ee646\nIT NE                                                                  ; +0x6a, 0x3ee64a\nMOVNE.W         LR, #1                                                 ; +0x6c, 0x3ee64c\nADDS.W          R3, R3, #0xFFFFFFFF                                    ; +0x70, 0x3ee650\nIT NE                                                                  ; +0x74, 0x3ee654\nMOVNE           R3, #1; bool                                           ; +0x76, 0x3ee656\nCMP.W           R12, #0                                                ; +0x78, 0x3ee658\nBNE             loc_3EE690                                             ; +0x7c, 0x3ee65c\nLDRB.W          R12, [R4,#0x665]                                       ; +0x7e, 0x3ee65e\nSTR.W           R12, [SP,#0x24+var_24]; bool                           ; +0x82, 0x3ee662\nADD.W           R12, R4, #0x668                                        ; +0x86, 0x3ee666\nLDR.W           R12, [R12]                                             ; +0x8a, 0x3ee66a\nSTR.W           R12, [SP,#0x24+var_20]; float                          ; +0x8e, 0x3ee66e\nLDR             R6, [R6]                                               ; +0x92, 0x3ee672\nSTR             R2, [SP,#0x24+var_18]; int                             ; +0x94, 0x3ee674\nSTR             R6, [SP,#0x24+var_1C]; float                           ; +0x96, 0x3ee676\nLDR             R2, [R7]                                               ; +0x98, 0x3ee678\nSTR             R0, [SP,#0x24+var_10]; bool                            ; +0x9a, 0x3ee67a\nMOV             R0, R5; this                                           ; +0x9c, 0x3ee67c\nSTR             R2, [SP,#0x24+var_14]; float                           ; +0x9e, 0x3ee67e\nLDR             R2, [R1]                                               ; +0xa0, 0x3ee680\nSTR             R2, [SP,#0x24+var_C]; float                            ; +0xa2, 0x3ee682\nMOV             R2, LR; bool                                           ; +0xa4, 0x3ee684\nLDR.W           R1, [R4,#0x500]; int                                   ; +0xa6, 0x3ee686\nBL              _ZN15GJBaseGameLayer28updateStaticCameraPosToGroupEibbbffifbf; GJBaseGameLayer::updateStaticCameraPosToGroup(int,bool,bool,bool,float,float,int,float,bool,float) ; +0xaa, 0x3ee68a\nB               loc_3EE784                                             ; +0xae, 0x3ee68e\nSTR             R2, [SP,#0x24+var_24]; float                           ; +0xb0, 0x3ee690\nLDR             R2, [R7]                                               ; +0xb2, 0x3ee692\nSTR             R0, [SP,#0x24+var_1C]; bool                            ; +0xb4, 0x3ee694\nMOV             R0, R5; this                                           ; +0xb6, 0x3ee696\nSTR             R2, [SP,#0x24+var_20]; float                           ; +0xb8, 0x3ee698\nLDR             R2, [R1]                                               ; +0xba, 0x3ee69a\nMOV             R1, LR; bool                                           ; +0xbc, 0x3ee69c\nSTR             R2, [SP,#0x24+var_18]; float                           ; +0xbe, 0x3ee69e\nLDRB.W          R2, [R4,#0x678]                                        ; +0xc0, 0x3ee6a0\nSTR             R2, [SP,#0x24+var_14]; bool                            ; +0xc4, 0x3ee6a4\nMOV             R2, R3; bool                                           ; +0xc6, 0x3ee6a6\nLDR             R3, [R6]; float                                        ; +0xc8, 0x3ee6a8\nBL              _ZN15GJBaseGameLayer16exitStaticCameraEbbfifbfb; GJBaseGameLayer::exitStaticCamera(bool,bool,float,int,float,bool,float,bool) ; +0xca, 0x3ee6aa\nB               loc_3EE784                                             ; +0xce, 0x3ee6ae\nMOV             R0, R5; this                                           ; +0xd0, 0x3ee6b0\nLDR.W           R1, [R4,#0x66C]; int                                   ; +0xd2, 0x3ee6b2\nLDR.W           R2, [R4,#0x4FC]; int                                   ; +0xd6, 0x3ee6b6\nADD             SP, SP, #0x24 ; '$'                                    ; +0xda, 0x3ee6ba\nPOP.W           {R4-R7,LR}                                             ; +0xdc, 0x3ee6bc\nB.W             _ZN15GJBaseGameLayer16updateCameraEdgeEii; GJBaseGameLayer::updateCameraEdge(int,int) ; +0xe0, 0x3ee6c0\nLDR.W           R3, [R4,#0x52C]                                        ; +0xe4, 0x3ee6c4\nCMP             R3, #2                                                 ; +0xe8, 0x3ee6c8\nBEQ             loc_3EE6F6                                             ; +0xea, 0x3ee6ca\nADD.W           R1, R4, #0x520                                         ; +0xec, 0x3ee6cc\nADDW            R2, R4, #0x514                                         ; +0xf0, 0x3ee6d0\nADD.W           R3, R4, #0x4F0                                         ; +0xf4, 0x3ee6d4\nMOV             R0, R5; this                                           ; +0xf8, 0x3ee6d8\nLDR             R1, [R1]                                               ; +0xfa, 0x3ee6da\nSTR             R1, [SP,#0x24+var_24]; float                           ; +0xfc, 0x3ee6dc\nLDR.W           R1, [R4,#0x304]                                        ; +0xfe, 0x3ee6de\nSTR             R1, [SP,#0x24+var_20]; int                             ; +0x102, 0x3ee6e2\nLDR.W           R1, [R4,#0x5CC]                                        ; +0x104, 0x3ee6e4\nSTR             R1, [SP,#0x24+var_1C]; int                             ; +0x108, 0x3ee6e8\nLDR             R1, [R2]; float                                        ; +0x10a, 0x3ee6ea\nLDR             R2, [R3]; float                                        ; +0x10c, 0x3ee6ec\nLDR.W           R3, [R4,#0x51C]; int                                   ; +0x10e, 0x3ee6ee\nBL              _ZN15GJBaseGameLayer19updateCameraOffsetXEffifii; GJBaseGameLayer::updateCameraOffsetX(float,float,int,float,int,int) ; +0x112, 0x3ee6f2\nLDR.W           R3, [R4,#0x52C]                                        ; +0x116, 0x3ee6f6\nCMP             R3, #1                                                 ; +0x11a, 0x3ee6fa\nBEQ             loc_3EE784                                             ; +0x11c, 0x3ee6fc\nADD.W           R1, R4, #0x520                                         ; +0x11e, 0x3ee6fe\nADD.W           R2, R4, #0x518                                         ; +0x122, 0x3ee702\nADD.W           R3, R4, #0x4F0                                         ; +0x126, 0x3ee706\nMOV             R0, R5; this                                           ; +0x12a, 0x3ee70a\nLDR             R1, [R1]                                               ; +0x12c, 0x3ee70c\nSTR             R1, [SP,#0x24+var_24]; float                           ; +0x12e, 0x3ee70e\nLDR.W           R1, [R4,#0x304]                                        ; +0x130, 0x3ee710\nSTR             R1, [SP,#0x24+var_20]; int                             ; +0x134, 0x3ee714\nLDR.W           R1, [R4,#0x5CC]                                        ; +0x136, 0x3ee716\nSTR             R1, [SP,#0x24+var_1C]; int                             ; +0x13a, 0x3ee71a\nLDR             R1, [R2]; float                                        ; +0x13c, 0x3ee71c\nLDR             R2, [R3]; float                                        ; +0x13e, 0x3ee71e\nLDR.W           R3, [R4,#0x51C]; int                                   ; +0x140, 0x3ee720\nBL              _ZN15GJBaseGameLayer19updateCameraOffsetYEffifii; GJBaseGameLayer::updateCameraOffsetY(float,float,int,float,int,int) ; +0x144, 0x3ee724\nB               loc_3EE784                                             ; +0x148, 0x3ee728\nMOV             R0, R5; this                                           ; +0x14a, 0x3ee72a\nMOV             R1, R4; EffectGameObject *                             ; +0x14c, 0x3ee72c\nMOVS            R2, #1; bool                                           ; +0x14e, 0x3ee72e\nADD             SP, SP, #0x24 ; '$'                                    ; +0x150, 0x3ee730\nPOP.W           {R4-R7,LR}                                             ; +0x152, 0x3ee732\nB.W             _ZN15GJBaseGameLayer16updateCameraModeEP16EffectGameObjectb; GJBaseGameLayer::updateCameraMode(EffectGameObject *,bool) ; +0x156, 0x3ee736\nADD.W           R6, R4, #0x4F0                                         ; +0x15a, 0x3ee73a\nLDRB.W          R2, [R4,#0x554]                                        ; +0x15e, 0x3ee73e\nLDRB.W          R3, [R4,#0x539]                                        ; +0x162, 0x3ee742\nADDW            R1, R4, #0x54C                                         ; +0x166, 0x3ee746\nLDR             R6, [R6]                                               ; +0x16a, 0x3ee74a\nLDR             R0, [R5]                                               ; +0x16c, 0x3ee74c\nSTR             R6, [SP,#0x24+var_24]                                  ; +0x16e, 0x3ee74e\nLDR.W           R6, [R4,#0x51C]                                        ; +0x170, 0x3ee750\nSTR             R6, [SP,#0x24+var_20]                                  ; +0x174, 0x3ee754\nADD.W           R6, R4, #0x520                                         ; +0x176, 0x3ee756\nLDR             R6, [R6]                                               ; +0x17a, 0x3ee75a\nSTR             R6, [SP,#0x24+var_1C]                                  ; +0x17c, 0x3ee75c\nLDR.W           R6, [R4,#0x304]                                        ; +0x17e, 0x3ee75e\nSTR             R6, [SP,#0x24+var_18]                                  ; +0x182, 0x3ee762\nLDR.W           R4, [R4,#0x5CC]                                        ; +0x184, 0x3ee764\nSTR             R4, [SP,#0x24+var_14]                                  ; +0x188, 0x3ee768\nLDR.W           R4, [R0,#0x2B4]                                        ; +0x18a, 0x3ee76a\nMOV             R0, R5                                                 ; +0x18e, 0x3ee76e\nLDR             R1, [R1]                                               ; +0x190, 0x3ee770\nBLX             R4                                                     ; +0x192, 0x3ee772\nB               loc_3EE784                                             ; +0x194, 0x3ee774\nMOV             R0, R4; ShaderGameObject *                             ; +0x196, 0x3ee776\nMOV             R1, R5; this                                           ; +0x198, 0x3ee778\nADD             SP, SP, #0x24 ; '$'                                    ; +0x19a, 0x3ee77a\nPOP.W           {R4-R7,LR}                                             ; +0x19c, 0x3ee77c\nB.W             _ZN16EffectGameObject13triggerObjectEP15GJBaseGameLayeriPKSt6vectorIiSaIiEE; EffectGameObject::triggerObject(GJBaseGameLayer *,int,std::vector<int> const*) ; +0x1a0, 0x3ee780\nADD             SP, SP, #0x24 ; '$'                                    ; +0x1a4, 0x3ee784\nPOP             {R4-R7,PC}                                             ; +0x1a6, 0x3ee786", "xrefs": [], "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"}