{"type": "func", "start": 5371027312, "end": 5371027463, "name": "GJBaseGameLayer::updateCameraOffsetX", "pseudocode": "// \n// GJBaseGameLayer::updateCameraOffsetX from 0x140235f70 to 0x140236007 (151 bytes)\n// \n// 2 xrefs:\n// > CameraTriggerGameObject::triggerObject @ 0x1404bd910\n// > <???> @ 0x1406ce0a0\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::updateCameraOffsetX(GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7)\n{\n  int v8; // [rsp+68h] [rbp+10h] BYREF\n\n  a1->m_gameState.m_unkPoint1.x = a2;\n  if ( a3 <= 0.0 )\n  {\n    v8 = 15;\n    sub_14024AC30(&a1->m_gameState.m_tweenActions, &v8);\n    a1->m_gameState.m_cameraOffset.x = a1->m_gameState.m_unkPoint1.x;\n  }\n  else\n  {\n    GJGameState::tweenValue(&a1->m_gameState, a1->m_gameState.m_cameraOffset.x, a2, 15, a3, a4, a5, a6, a7);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateCameraOffsetX from 0x140235f70 to 0x140236007 (151 bytes)\n; \n; 2 xrefs:\n; > CameraTriggerGameObject::triggerObject @ 0x1404bd910\n; > <???> @ 0x1406ce0a0\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    rbx                                                            ; +0x0, 0x140235f70\nsub     rsp, 50h                                                       ; +0x2, 0x140235f72\nxorps   xmm0, xmm0                                                     ; +0x6, 0x140235f76\nmovss   dword ptr [rcx+1B8h], xmm1                                     ; +0x9, 0x140235f79\ncomiss  xmm2, xmm0                                                     ; +0x11, 0x140235f81\nmov     rbx, rcx                                                       ; +0x14, 0x140235f84\njbe     short loc_140235FDC                                            ; +0x17, 0x140235f87\nmov     eax, [rsp+58h+arg_30]                                          ; +0x19, 0x140235f89\nadd     rcx, 1A8h                                                      ; +0x20, 0x140235f90\nmovss   xmm0, [rsp+58h+arg_20]                                         ; +0x27, 0x140235f97\nmov     [rsp+58h+var_18], eax                                          ; +0x30, 0x140235fa0\nmov     eax, [rsp+58h+arg_28]                                          ; +0x34, 0x140235fa4\nmov     [rsp+58h+var_20], eax                                          ; +0x3b, 0x140235fab\nmovss   [rsp+58h+var_28], xmm0                                         ; +0x3f, 0x140235faf\nmov     [rsp+58h+var_30], r9d                                          ; +0x45, 0x140235fb5\nmov     r9d, 0Fh                                                       ; +0x4a, 0x140235fba\nmovss   [rsp+58h+var_38], xmm2                                         ; +0x50, 0x140235fc0\nmovaps  xmm2, xmm1                                                     ; +0x56, 0x140235fc6\nmovss   xmm1, dword ptr [rbx+1B0h]                                     ; +0x59, 0x140235fc9\ncall    GJGameState__tweenValue                                        ; +0x61, 0x140235fd1\nadd     rsp, 50h                                                       ; +0x66, 0x140235fd6\npop     rbx                                                            ; +0x6a, 0x140235fda\nretn                                                                   ; +0x6b, 0x140235fdb\nadd     rcx, 428h                                                      ; +0x6c, 0x140235fdc\nmov     [rsp+58h+arg_8], 0Fh                                           ; +0x73, 0x140235fe3\nlea     rdx, [rsp+58h+arg_8]                                           ; +0x7b, 0x140235feb\ncall    sub_14024AC30                                                  ; +0x80, 0x140235ff0\nmov     eax, [rbx+1B8h]                                                ; +0x85, 0x140235ff5\nmov     [rbx+1B0h], eax                                                ; +0x8b, 0x140235ffb\nadd     rsp, 50h                                                       ; +0x91, 0x140236001\npop     rbx                                                            ; +0x95, 0x140236005\nretn                                                                   ; +0x96, 0x140236006", "xrefs": ["CameraTriggerGameObject::triggerObject @ 0x1404bd910", "<???> @ 0x1406ce0a0"], "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"}