{"type": "func", "start": 4296339568, "end": 4296339627, "name": "GJBaseGameLayer::updateCameraEdge", "pseudocode": "// \n// GJBaseGameLayer::updateCameraEdge from 0x10014f070 to 0x10014f0ab (59 bytes)\n// \n// 1 xrefs:\n// > CameraTriggerGameObject::triggerObject @ 0x1001de107\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  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 0x10014f070 to 0x10014f0ab (59 bytes)\n; \n; 1 xrefs:\n; > CameraTriggerGameObject::triggerObject @ 0x1001de107\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    rbp                                                            ; +0x0, 0x10014f070\nmov     rbp, rsp                                                       ; +0x1, 0x10014f071\ndec     esi; switch 4 cases                                            ; +0x4, 0x10014f074\ncmp     esi, 3                                                         ; +0x6, 0x10014f076\nja      short def_10014F089; jumptable 000000010014F089 default case   ; +0x9, 0x10014f079\nlea     rax, jpt_10014F089                                             ; +0xb, 0x10014f07b\nmovsxd  rcx, (jpt_10014F089 - 10014F0ACh)[rax+rsi*4]                   ; +0x12, 0x10014f082\nadd     rcx, rax                                                       ; +0x16, 0x10014f086\njmp     rcx; switch jump                                               ; +0x19, 0x10014f089\nmov     [rdi+420h], edx; jumptable 000000010014F089 case 1             ; +0x1b, 0x10014f08b\npop     rbp                                                            ; +0x21, 0x10014f091\nretn                                                                   ; +0x22, 0x10014f092\nmov     [rdi+428h], edx; jumptable 000000010014F089 case 3             ; +0x23, 0x10014f093\npop     rbp                                                            ; +0x29, 0x10014f099\nretn                                                                   ; +0x2a, 0x10014f09a\nmov     [rdi+42Ch], edx; jumptable 000000010014F089 case 4             ; +0x2b, 0x10014f09b\npop     rbp; jumptable 000000010014F089 default case                   ; +0x31, 0x10014f0a1\nretn                                                                   ; +0x32, 0x10014f0a2\nmov     [rdi+424h], edx; jumptable 000000010014F089 case 2             ; +0x33, 0x10014f0a3\npop     rbp                                                            ; +0x39, 0x10014f0a9\nretn                                                                   ; +0x3a, 0x10014f0aa", "xrefs": ["CameraTriggerGameObject::triggerObject @ 0x1001de107"], "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"}