{"type": "func", "start": 4297691848, "end": 4297691976, "name": "GJBaseGameLayer::updateCameraOffsetY", "pseudocode": "// \n// GJBaseGameLayer::updateCameraOffsetY from 0x1002992c8 to 0x100299348 (128 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::playEndAnimationToPos @ 0x1001449d0\n// > PlayLayer::playPlatformerEndAnimationToPos @ 0x100144d7c\n// > CameraTriggerGameObject::triggerObject @ 0x1004396d8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:02:07 +0000\n// \n\nfloat __fastcall GJBaseGameLayer::updateCameraOffsetY(__int64 a1, int a2, int a3, int a4, float a5, float a6, float a7)\n{\n  float result; // s0\n  int v9; // [xsp+Ch] [xbp-14h] BYREF\n\n  *(float *)(a1 + 444) = a5;\n  if ( a6 <= 0.0 )\n  {\n    v9 = 16;\n    sub_10001BB58((_QWORD *)(a1 + 1016), &v9);\n    result = *(float *)(a1 + 444);\n    *(float *)(a1 + 436) = result;\n  }\n  else\n  {\n    sub_10027409C(a1 + 424, 16, a2, a3, a4, *(float *)(a1 + 436), a5, a6, a7);\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateCameraOffsetY from 0x1002992c8 to 0x100299348 (128 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::playEndAnimationToPos @ 0x1001449d0\n; > PlayLayer::playPlatformerEndAnimationToPos @ 0x100144d7c\n; > CameraTriggerGameObject::triggerObject @ 0x1004396d8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:02:07 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x1002992c8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002992cc\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002992d0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002992d4\nFMOV            S3, S2                                                 ; +0x10, 0x1002992d8\nFMOV            S2, S1                                                 ; +0x14, 0x1002992dc\nMOV             X19, X0                                                ; +0x18, 0x1002992e0\nSTR             S0, [X0,#0x1BC]                                        ; +0x1c, 0x1002992e4\nFCMP            S1, #0.0                                               ; +0x20, 0x1002992e8\nB.LE            loc_10029931C                                          ; +0x24, 0x1002992ec\nMOV             X4, X3                                                 ; +0x28, 0x1002992f0\nMOV             X3, X2                                                 ; +0x2c, 0x1002992f4\nMOV             X2, X1                                                 ; +0x30, 0x1002992f8\nFMOV            S1, S0                                                 ; +0x34, 0x1002992fc\nLDR             S0, [X19,#0x1B4]                                       ; +0x38, 0x100299300\nADD             X0, X19, #0x1A8                                        ; +0x3c, 0x100299304\nMOV             W1, #0x10                                              ; +0x40, 0x100299308\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x10029930c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x100299310\nADD             SP, SP, #0x30 ; '0'                                    ; +0x4c, 0x100299314\nB               sub_10027409C                                          ; +0x50, 0x100299318\nMOV             W8, #0x10                                              ; +0x54, 0x10029931c\nSTR             W8, [SP,#0x20+var_14]                                  ; +0x58, 0x100299320\nADD             X0, X19, #0x3F8                                        ; +0x5c, 0x100299324\nADD             X1, SP, #0x20+var_14                                   ; +0x60, 0x100299328\nBL              sub_10001BB58                                          ; +0x64, 0x10029932c\nLDR             S0, [X19,#0x1BC]                                       ; +0x68, 0x100299330\nSTR             S0, [X19,#0x1B4]                                       ; +0x6c, 0x100299334\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x70, 0x100299338\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x74, 0x10029933c\nADD             SP, SP, #0x30 ; '0'                                    ; +0x78, 0x100299340\nRET                                                                    ; +0x7c, 0x100299344", "xrefs": ["PlayLayer::playEndAnimationToPos @ 0x1001449d0", "PlayLayer::playPlatformerEndAnimationToPos @ 0x100144d7c", "CameraTriggerGameObject::triggerObject @ 0x1004396d8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}