{"type": "func", "start": 4297052800, "end": 4297052872, "name": "GJBaseGameLayer::updateCameraEdge", "pseudocode": "// \n// GJBaseGameLayer::updateCameraEdge from 0x1001fd280 to 0x1001fd2c8 (72 bytes)\n// \n// 1 xrefs:\n// > CameraTriggerGameObject::triggerObject @ 0x100392c70\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 __fastcall GJBaseGameLayer::updateCameraEdge(GJBaseGameLayer *a1, int a2, int a3)\n{\n  if ( a2 > 2 )\n  {\n    if ( a2 == 3 )\n    {\n      a1->m_gameState.m_cameraEdgeValue2 = a3;\n    }\n    else if ( a2 == 4 )\n    {\n      a1->m_gameState.m_cameraEdgeValue3 = a3;\n    }\n  }\n  else if ( a2 == 1 )\n  {\n    a1->m_gameState.m_cameraEdgeValue0 = a3;\n  }\n  else if ( a2 == 2 )\n  {\n    a1->m_gameState.m_cameraEdgeValue1 = a3;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateCameraEdge from 0x1001fd280 to 0x1001fd2c8 (72 bytes)\n; \n; 1 xrefs:\n; > CameraTriggerGameObject::triggerObject @ 0x100392c70\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\nCMP             W1, #2                                                 ; +0x0, 0x1001fd280\nB.GT            loc_1001FD2A0                                          ; +0x4, 0x1001fd284\nCMP             W1, #1                                                 ; +0x8, 0x1001fd288\nB.EQ            loc_1001FD2B8                                          ; +0xc, 0x1001fd28c\nCMP             W1, #2                                                 ; +0x10, 0x1001fd290\nB.NE            locret_1001FD2C4                                       ; +0x14, 0x1001fd294\nSTR             W2, [X0,#0x424]                                        ; +0x18, 0x1001fd298\nRET                                                                    ; +0x1c, 0x1001fd29c\nCMP             W1, #3                                                 ; +0x20, 0x1001fd2a0\nB.EQ            loc_1001FD2C0                                          ; +0x24, 0x1001fd2a4\nCMP             W1, #4                                                 ; +0x28, 0x1001fd2a8\nB.NE            locret_1001FD2C4                                       ; +0x2c, 0x1001fd2ac\nSTR             W2, [X0,#0x42C]                                        ; +0x30, 0x1001fd2b0\nRET                                                                    ; +0x34, 0x1001fd2b4\nSTR             W2, [X0,#0x420]                                        ; +0x38, 0x1001fd2b8\nRET                                                                    ; +0x3c, 0x1001fd2bc\nSTR             W2, [X0,#0x428]                                        ; +0x40, 0x1001fd2c0\nRET                                                                    ; +0x44, 0x1001fd2c4", "xrefs": ["CameraTriggerGameObject::triggerObject @ 0x100392c70"], "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"}