{"type": "func", "start": 5371027472, "end": 5371027623, "name": "GJBaseGameLayer::updateCameraOffsetY", "pseudocode": "// \n// GJBaseGameLayer::updateCameraOffsetY from 0x140236010 to 0x1402360a7 (151 bytes)\n// \n// 2 xrefs:\n// > CameraTriggerGameObject::triggerObject @ 0x1404bd95e\n// > <???> @ 0x1406ce0ac\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::updateCameraOffsetY(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.y = a2;\n  if ( a3 <= 0.0 )\n  {\n    v8 = 16;\n    sub_14024AC30(&a1->m_gameState.m_tweenActions, &v8);\n    a1->m_gameState.m_cameraOffset.y = a1->m_gameState.m_unkPoint1.y;\n  }\n  else\n  {\n    GJGameState::tweenValue(&a1->m_gameState, a1->m_gameState.m_cameraOffset.y, a2, 16, a3, a4, a5, a6, a7);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateCameraOffsetY from 0x140236010 to 0x1402360a7 (151 bytes)\n; \n; 2 xrefs:\n; > CameraTriggerGameObject::triggerObject @ 0x1404bd95e\n; > <???> @ 0x1406ce0ac\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, 0x140236010\nsub     rsp, 50h                                                       ; +0x2, 0x140236012\nxorps   xmm0, xmm0                                                     ; +0x6, 0x140236016\nmovss   dword ptr [rcx+1BCh], xmm1                                     ; +0x9, 0x140236019\ncomiss  xmm2, xmm0                                                     ; +0x11, 0x140236021\nmov     rbx, rcx                                                       ; +0x14, 0x140236024\njbe     short loc_14023607C                                            ; +0x17, 0x140236027\nmov     eax, [rsp+58h+arg_30]                                          ; +0x19, 0x140236029\nadd     rcx, 1A8h                                                      ; +0x20, 0x140236030\nmovss   xmm0, [rsp+58h+arg_20]                                         ; +0x27, 0x140236037\nmov     [rsp+58h+var_18], eax                                          ; +0x30, 0x140236040\nmov     eax, [rsp+58h+arg_28]                                          ; +0x34, 0x140236044\nmov     [rsp+58h+var_20], eax                                          ; +0x3b, 0x14023604b\nmovss   [rsp+58h+var_28], xmm0                                         ; +0x3f, 0x14023604f\nmov     [rsp+58h+var_30], r9d                                          ; +0x45, 0x140236055\nmov     r9d, 10h                                                       ; +0x4a, 0x14023605a\nmovss   [rsp+58h+var_38], xmm2                                         ; +0x50, 0x140236060\nmovaps  xmm2, xmm1                                                     ; +0x56, 0x140236066\nmovss   xmm1, dword ptr [rbx+1B4h]                                     ; +0x59, 0x140236069\ncall    GJGameState__tweenValue                                        ; +0x61, 0x140236071\nadd     rsp, 50h                                                       ; +0x66, 0x140236076\npop     rbx                                                            ; +0x6a, 0x14023607a\nretn                                                                   ; +0x6b, 0x14023607b\nadd     rcx, 428h                                                      ; +0x6c, 0x14023607c\nmov     [rsp+58h+arg_8], 10h                                           ; +0x73, 0x140236083\nlea     rdx, [rsp+58h+arg_8]                                           ; +0x7b, 0x14023608b\ncall    sub_14024AC30                                                  ; +0x80, 0x140236090\nmov     eax, [rbx+1BCh]                                                ; +0x85, 0x140236095\nmov     [rbx+1B4h], eax                                                ; +0x8b, 0x14023609b\nadd     rsp, 50h                                                       ; +0x91, 0x1402360a1\npop     rbx                                                            ; +0x95, 0x1402360a5\nretn                                                                   ; +0x96, 0x1402360a6", "xrefs": ["CameraTriggerGameObject::triggerObject @ 0x1404bd95e", "<???> @ 0x1406ce0ac"], "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"}