{"type": "func", "start": 5199092, "end": 5199516, "name": "CameraTriggerGameObject::triggerObject", "pseudocode": "// \n// CameraTriggerGameObject::triggerObject from 0x4f54f4 to 0x4f569c (424 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:16 +0000\n// \n\nchar **__fastcall CameraTriggerGameObject::triggerObject(\n        EffectGameObject *a1,\n        GJBaseGameLayer *this,\n        int a3,\n        const void **a4)\n{\n  int v5; // r1\n  char **result; // r0\n  int v8; // r3\n  float *v9; // r6\n  float *v10; // r7\n  int v11; // r2\n  char v12; // r0\n  float *v13; // r1\n  bool v14; // lr\n  bool v15; // r3\n\n  v5 = *((_DWORD *)a1 + 223);\n  if ( v5 == 2015 )\n    return (char **)(*(int (__fastcall **)(GJBaseGameLayer *, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD, _DWORD))(*(_DWORD *)this + 716))(\n                      this,\n                      *((_DWORD *)a1 + 341),\n                      *((unsigned __int8 *)a1 + 1372),\n                      *((unsigned __int8 *)a1 + 1345),\n                      *((_DWORD *)a1 + 318),\n                      *((_DWORD *)a1 + 329),\n                      *((_DWORD *)a1 + 330),\n                      *((_DWORD *)a1 + 195),\n                      *((_DWORD *)a1 + 373));\n  if ( v5 >= 2016 )\n  {\n    if ( v5 == 2062 )\n      return (char **)GJBaseGameLayer::updateCameraEdge(this, *((_DWORD *)a1 + 414), *((_DWORD *)a1 + 321));\n    result = (char **)(&stru_B6C + 1);\n    if ( v5 == 2925 )\n      return (char **)GJBaseGameLayer::updateCameraMode(this, a1, 1);\n    if ( v5 != 2016 )\n      return EffectGameObject::triggerObject((char **)a1, (GJEffectManager **)this, a3, a4);\n  }\n  else if ( v5 == 1914 )\n  {\n    v8 = *((_DWORD *)a1 + 333);\n    v9 = (float *)((char *)a1 + 1272);\n    v10 = (float *)((char *)a1 + 1320);\n    v11 = *((_DWORD *)a1 + 329);\n    v12 = *((_BYTE *)a1 + 1660);\n    v13 = (float *)((char *)a1 + 1664);\n    v14 = v8 != 2;\n    v15 = v8 != 1;\n    if ( *((_BYTE *)a1 + 1648) )\n      return (char **)GJBaseGameLayer::exitStaticCamera(\n                        this,\n                        v14,\n                        v15,\n                        *v9,\n                        *((float *)a1 + 329),\n                        *v10,\n                        v12,\n                        *v13,\n                        *((_BYTE *)a1 + 1668));\n    else\n      return (char **)GJBaseGameLayer::updateStaticCameraPosToGroup(\n                        this,\n                        *((_DWORD *)a1 + 322),\n                        v14,\n                        v15,\n                        *((_BYTE *)a1 + 1649),\n                        *((float *)a1 + 413),\n                        *v9,\n                        v11,\n                        *v10,\n                        v12,\n                        *v13);\n  }\n  else\n  {\n    result = (char **)&stru_77C;\n    if ( v5 != 1916 )\n      return EffectGameObject::triggerObject((char **)a1, (GJEffectManager **)this, a3, a4);\n    if ( *((_DWORD *)a1 + 333) != 2 )\n      result = (char **)GJBaseGameLayer::updateCameraOffsetX(\n                          this,\n                          *((float *)a1 + 327),\n                          *((float *)a1 + 318),\n                          *((_DWORD *)a1 + 329),\n                          *((float *)a1 + 330),\n                          *((_DWORD *)a1 + 195),\n                          *((_DWORD *)a1 + 373));\n    if ( *((_DWORD *)a1 + 333) != 1 )\n      return (char **)GJBaseGameLayer::updateCameraOffsetY(\n                        this,\n                        *((float *)a1 + 328),\n                        *((float *)a1 + 318),\n                        *((_DWORD *)a1 + 329),\n                        *((float *)a1 + 330),\n                        *((_DWORD *)a1 + 195),\n                        *((_DWORD *)a1 + 373));\n  }\n  return result;\n}", "assembly": "; \n; CameraTriggerGameObject::triggerObject from 0x4f54f4 to 0x4f569c (424 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:51:16 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x4f54f4\nMOV             R5, R1                                                 ; +0x2, 0x4f54f6\nLDR.W           R1, [R0,#0x37C]                                        ; +0x4, 0x4f54f8\nMOV             R4, R0                                                 ; +0x8, 0x4f54fc\nMOVW            R0, #0x7DF                                             ; +0xa, 0x4f54fe\nSUB             SP, SP, #0x24                                          ; +0xe, 0x4f5502\nCMP             R1, R0                                                 ; +0x10, 0x4f5504\nBEQ.W           loc_4F564E                                             ; +0x12, 0x4f5506\nCMP.W           R1, #0x7E0                                             ; +0x16, 0x4f550a\nBGE             loc_4F5522                                             ; +0x1a, 0x4f550e\nMOVW            R0, #0x77A                                             ; +0x1c, 0x4f5510\nCMP             R1, R0                                                 ; +0x20, 0x4f5514\nBEQ             loc_4F553E                                             ; +0x22, 0x4f5516\nMOVW            R0, #0x77C                                             ; +0x24, 0x4f5518\nCMP             R1, R0                                                 ; +0x28, 0x4f551c\nBEQ             loc_4F55D8                                             ; +0x2a, 0x4f551e\nB               loc_4F568A                                             ; +0x2c, 0x4f5520\nMOVW            R0, #0x80E                                             ; +0x2e, 0x4f5522\nCMP             R1, R0                                                 ; +0x32, 0x4f5526\nBEQ             loc_4F55C4                                             ; +0x34, 0x4f5528\nMOVW            R0, #0xB6D                                             ; +0x36, 0x4f552a\nCMP             R1, R0                                                 ; +0x3a, 0x4f552e\nBEQ.W           loc_4F563E                                             ; +0x3c, 0x4f5530\nCMP.W           R1, #0x7E0                                             ; +0x40, 0x4f5534\nBNE.W           loc_4F568A                                             ; +0x44, 0x4f5538\nB               loc_4F5698                                             ; +0x48, 0x4f553c\nLDR.W           R3, [R4,#0x534]                                        ; +0x4a, 0x4f553e\nADD.W           R6, R4, #0x4F8                                         ; +0x4e, 0x4f5542\nLDRB.W          R12, [R4,#0x670]                                       ; +0x52, 0x4f5546\nADD.W           R7, R4, #0x528                                         ; +0x56, 0x4f554a\nSUBS.W          LR, R3, #2                                             ; +0x5a, 0x4f554e\nLDR.W           R2, [R4,#0x524]                                        ; +0x5e, 0x4f5552\nLDRB.W          R0, [R4,#0x67C]                                        ; +0x62, 0x4f5556\nADD.W           R1, R4, #0x680                                         ; +0x66, 0x4f555a\nIT NE                                                                  ; +0x6a, 0x4f555e\nMOVNE.W         LR, #1                                                 ; +0x6c, 0x4f5560\nADDS.W          R3, R3, #0xFFFFFFFF                                    ; +0x70, 0x4f5564\nIT NE                                                                  ; +0x74, 0x4f5568\nMOVNE           R3, #1; bool                                           ; +0x76, 0x4f556a\nCMP.W           R12, #0                                                ; +0x78, 0x4f556c\nBNE             loc_4F55A4                                             ; +0x7c, 0x4f5570\nLDRB.W          R12, [R4,#0x671]                                       ; +0x7e, 0x4f5572\nSTR.W           R12, [SP,#0x24+var_24]; bool                           ; +0x82, 0x4f5576\nADDW            R12, R4, #0x674                                        ; +0x86, 0x4f557a\nLDR.W           R12, [R12]                                             ; +0x8a, 0x4f557e\nSTR.W           R12, [SP,#0x24+var_20]; float                          ; +0x8e, 0x4f5582\nLDR             R6, [R6]                                               ; +0x92, 0x4f5586\nSTR             R2, [SP,#0x24+var_18]; int                             ; +0x94, 0x4f5588\nSTR             R6, [SP,#0x24+var_1C]; float                           ; +0x96, 0x4f558a\nLDR             R2, [R7]                                               ; +0x98, 0x4f558c\nSTR             R0, [SP,#0x24+var_10]; bool                            ; +0x9a, 0x4f558e\nMOV             R0, R5; this                                           ; +0x9c, 0x4f5590\nSTR             R2, [SP,#0x24+var_14]; float                           ; +0x9e, 0x4f5592\nLDR             R2, [R1]                                               ; +0xa0, 0x4f5594\nSTR             R2, [SP,#0x24+var_C]; float                            ; +0xa2, 0x4f5596\nMOV             R2, LR; bool                                           ; +0xa4, 0x4f5598\nLDR.W           R1, [R4,#0x508]; int                                   ; +0xa6, 0x4f559a\nBL              _ZN15GJBaseGameLayer28updateStaticCameraPosToGroupEibbbffifbf; GJBaseGameLayer::updateStaticCameraPosToGroup(int,bool,bool,bool,float,float,int,float,bool,float) ; +0xaa, 0x4f559e\nB               loc_4F5698                                             ; +0xae, 0x4f55a2\nSTR             R2, [SP,#0x24+var_24]; float                           ; +0xb0, 0x4f55a4\nLDR             R2, [R7]                                               ; +0xb2, 0x4f55a6\nSTR             R0, [SP,#0x24+var_1C]; bool                            ; +0xb4, 0x4f55a8\nMOV             R0, R5; this                                           ; +0xb6, 0x4f55aa\nSTR             R2, [SP,#0x24+var_20]; float                           ; +0xb8, 0x4f55ac\nLDR             R2, [R1]                                               ; +0xba, 0x4f55ae\nMOV             R1, LR; bool                                           ; +0xbc, 0x4f55b0\nSTR             R2, [SP,#0x24+var_18]; float                           ; +0xbe, 0x4f55b2\nLDRB.W          R2, [R4,#0x684]                                        ; +0xc0, 0x4f55b4\nSTR             R2, [SP,#0x24+var_14]; bool                            ; +0xc4, 0x4f55b8\nMOV             R2, R3; bool                                           ; +0xc6, 0x4f55ba\nLDR             R3, [R6]; float                                        ; +0xc8, 0x4f55bc\nBL              _ZN15GJBaseGameLayer16exitStaticCameraEbbfifbfb; GJBaseGameLayer::exitStaticCamera(bool,bool,float,int,float,bool,float,bool) ; +0xca, 0x4f55be\nB               loc_4F5698                                             ; +0xce, 0x4f55c2\nMOV             R0, R5; this                                           ; +0xd0, 0x4f55c4\nLDR.W           R1, [R4,#0x678]; int                                   ; +0xd2, 0x4f55c6\nLDR.W           R2, [R4,#0x504]; int                                   ; +0xd6, 0x4f55ca\nADD             SP, SP, #0x24 ; '$'                                    ; +0xda, 0x4f55ce\nPOP.W           {R4-R7,LR}                                             ; +0xdc, 0x4f55d0\nB.W             _ZN15GJBaseGameLayer16updateCameraEdgeEii; GJBaseGameLayer::updateCameraEdge(int,int) ; +0xe0, 0x4f55d4\nLDR.W           R3, [R4,#0x534]                                        ; +0xe4, 0x4f55d8\nCMP             R3, #2                                                 ; +0xe8, 0x4f55dc\nBEQ             loc_4F560A                                             ; +0xea, 0x4f55de\nADD.W           R1, R4, #0x528                                         ; +0xec, 0x4f55e0\nADDW            R2, R4, #0x51C                                         ; +0xf0, 0x4f55e4\nADD.W           R3, R4, #0x4F8                                         ; +0xf4, 0x4f55e8\nMOV             R0, R5; this                                           ; +0xf8, 0x4f55ec\nLDR             R1, [R1]                                               ; +0xfa, 0x4f55ee\nSTR             R1, [SP,#0x24+var_24]; float                           ; +0xfc, 0x4f55f0\nLDR.W           R1, [R4,#0x30C]                                        ; +0xfe, 0x4f55f2\nSTR             R1, [SP,#0x24+var_20]; int                             ; +0x102, 0x4f55f6\nLDR.W           R1, [R4,#0x5D4]                                        ; +0x104, 0x4f55f8\nSTR             R1, [SP,#0x24+var_1C]; int                             ; +0x108, 0x4f55fc\nLDR             R1, [R2]; float                                        ; +0x10a, 0x4f55fe\nLDR             R2, [R3]; float                                        ; +0x10c, 0x4f5600\nLDR.W           R3, [R4,#0x524]; int                                   ; +0x10e, 0x4f5602\nBL              _ZN15GJBaseGameLayer19updateCameraOffsetXEffifii; GJBaseGameLayer::updateCameraOffsetX(float,float,int,float,int,int) ; +0x112, 0x4f5606\nLDR.W           R3, [R4,#0x534]                                        ; +0x116, 0x4f560a\nCMP             R3, #1                                                 ; +0x11a, 0x4f560e\nBEQ             loc_4F5698                                             ; +0x11c, 0x4f5610\nADD.W           R1, R4, #0x528                                         ; +0x11e, 0x4f5612\nADD.W           R2, R4, #0x520                                         ; +0x122, 0x4f5616\nADD.W           R3, R4, #0x4F8                                         ; +0x126, 0x4f561a\nMOV             R0, R5; this                                           ; +0x12a, 0x4f561e\nLDR             R1, [R1]                                               ; +0x12c, 0x4f5620\nSTR             R1, [SP,#0x24+var_24]; float                           ; +0x12e, 0x4f5622\nLDR.W           R1, [R4,#0x30C]                                        ; +0x130, 0x4f5624\nSTR             R1, [SP,#0x24+var_20]; int                             ; +0x134, 0x4f5628\nLDR.W           R1, [R4,#0x5D4]                                        ; +0x136, 0x4f562a\nSTR             R1, [SP,#0x24+var_1C]; int                             ; +0x13a, 0x4f562e\nLDR             R1, [R2]; float                                        ; +0x13c, 0x4f5630\nLDR             R2, [R3]; float                                        ; +0x13e, 0x4f5632\nLDR.W           R3, [R4,#0x524]; int                                   ; +0x140, 0x4f5634\nBL              _ZN15GJBaseGameLayer19updateCameraOffsetYEffifii; GJBaseGameLayer::updateCameraOffsetY(float,float,int,float,int,int) ; +0x144, 0x4f5638\nB               loc_4F5698                                             ; +0x148, 0x4f563c\nMOV             R0, R5; this                                           ; +0x14a, 0x4f563e\nMOV             R1, R4; EffectGameObject *                             ; +0x14c, 0x4f5640\nMOVS            R2, #1; bool                                           ; +0x14e, 0x4f5642\nADD             SP, SP, #0x24 ; '$'                                    ; +0x150, 0x4f5644\nPOP.W           {R4-R7,LR}                                             ; +0x152, 0x4f5646\nB.W             _ZN15GJBaseGameLayer16updateCameraModeEP16EffectGameObjectb; GJBaseGameLayer::updateCameraMode(EffectGameObject *,bool) ; +0x156, 0x4f564a\nADD.W           R6, R4, #0x4F8                                         ; +0x15a, 0x4f564e\nLDRB.W          R2, [R4,#0x55C]                                        ; +0x15e, 0x4f5652\nLDRB.W          R3, [R4,#0x541]                                        ; +0x162, 0x4f5656\nADDW            R1, R4, #0x554                                         ; +0x166, 0x4f565a\nLDR             R6, [R6]                                               ; +0x16a, 0x4f565e\nLDR             R0, [R5]                                               ; +0x16c, 0x4f5660\nSTR             R6, [SP,#0x24+var_24]                                  ; +0x16e, 0x4f5662\nLDR.W           R6, [R4,#0x524]                                        ; +0x170, 0x4f5664\nSTR             R6, [SP,#0x24+var_20]                                  ; +0x174, 0x4f5668\nADD.W           R6, R4, #0x528                                         ; +0x176, 0x4f566a\nLDR             R6, [R6]                                               ; +0x17a, 0x4f566e\nSTR             R6, [SP,#0x24+var_1C]                                  ; +0x17c, 0x4f5670\nLDR.W           R6, [R4,#0x30C]                                        ; +0x17e, 0x4f5672\nSTR             R6, [SP,#0x24+var_18]                                  ; +0x182, 0x4f5676\nLDR.W           R4, [R4,#0x5D4]                                        ; +0x184, 0x4f5678\nSTR             R4, [SP,#0x24+var_14]                                  ; +0x188, 0x4f567c\nLDR.W           R4, [R0,#0x2CC]                                        ; +0x18a, 0x4f567e\nMOV             R0, R5                                                 ; +0x18e, 0x4f5682\nLDR             R1, [R1]                                               ; +0x190, 0x4f5684\nBLX             R4                                                     ; +0x192, 0x4f5686\nB               loc_4F5698                                             ; +0x194, 0x4f5688\nMOV             R0, R4; EffectGameObject *                             ; +0x196, 0x4f568a\nMOV             R1, R5; this                                           ; +0x198, 0x4f568c\nADD             SP, SP, #0x24 ; '$'                                    ; +0x19a, 0x4f568e\nPOP.W           {R4-R7,LR}                                             ; +0x19c, 0x4f5690\nB.W             _ZN16EffectGameObject13triggerObjectEP15GJBaseGameLayeriPKNSt6__ndk16vectorIiNS2_9allocatorIiEEEE; EffectGameObject::triggerObject(GJBaseGameLayer *,int,std::vector<int> const*) ; +0x1a0, 0x4f5694\nADD             SP, SP, #0x24 ; '$'                                    ; +0x1a4, 0x4f5698\nPOP             {R4-R7,PC}                                             ; +0x1a6, 0x4f569a", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}