{"type": "func", "start": 4679704, "end": 4679742, "name": "GJBaseGameLayer::updateCameraEdge", "pseudocode": "// \n// GJBaseGameLayer::updateCameraEdge from 0x476818 to 0x47683e (38 bytes)\n// \n// 1 xrefs:\n// > CameraTriggerGameObject::triggerObject @ 0x3ee6c0\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 GJBaseGameLayer::updateCameraEdge(GJBaseGameLayer *a1, int a2, int a3)\n{\n  switch ( a2 )\n  {\n    case 1:\n      a1->m_gameState.m_cameraEdgeValue0 = a3;\n      break;\n    case 2:\n      a1->m_gameState.m_cameraEdgeValue1 = a3;\n      break;\n    case 3:\n      a1->m_gameState.m_cameraEdgeValue2 = a3;\n      break;\n    case 4:\n      a1->m_gameState.m_cameraEdgeValue3 = a3;\n      break;\n    default:\n      return;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateCameraEdge from 0x476818 to 0x47683e (38 bytes)\n; \n; 1 xrefs:\n; > CameraTriggerGameObject::triggerObject @ 0x3ee6c0\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\nSUBS            R1, #1; switch 4 cases                                 ; +0x0, 0x476818\nCMP             R1, #3                                                 ; +0x2, 0x47681a\nBHI             def_47681E; jumptable 0047681E default case            ; +0x4, 0x47681c\nTBB.W           [PC,R1]; switch jump                                   ; +0x6, 0x47681e\nDCB 2; jump table for switch statement                                 ; +0xa, 0x476822\nDCB 5                                                                  ; +0xb, 0x476823\nDCB 8                                                                  ; +0xc, 0x476824\nDCB 0xB                                                                ; +0xd, 0x476825\nSTR.W           R2, [R0,#0x394]; jumptable 0047681E case 1             ; +0xe, 0x476826\nBX              LR                                                     ; +0x12, 0x47682a\nSTR.W           R2, [R0,#0x398]; jumptable 0047681E case 2             ; +0x14, 0x47682c\nBX              LR                                                     ; +0x18, 0x476830\nSTR.W           R2, [R0,#0x39C]; jumptable 0047681E case 3             ; +0x1a, 0x476832\nBX              LR                                                     ; +0x1e, 0x476836\nSTR.W           R2, [R0,#0x3A0]; jumptable 0047681E case 4             ; +0x20, 0x476838\nBX              LR; jumptable 0047681E default case                    ; +0x24, 0x47683c", "xrefs": ["CameraTriggerGameObject::triggerObject @ 0x3ee6c0"], "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"}