{"type": "func", "start": 4297691720, "end": 4297691848, "name": "GJBaseGameLayer::updateCameraOffsetX", "pseudocode": "// \n// GJBaseGameLayer::updateCameraOffsetX from 0x100299248 to 0x1002992c8 (128 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::playEndAnimationToPos @ 0x1001449b0\n// > PlayLayer::playPlatformerEndAnimationToPos @ 0x100144d5c\n// > CameraTriggerGameObject::triggerObject @ 0x100439680\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::updateCameraOffsetX(__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 + 440) = a5;\n  if ( a6 <= 0.0 )\n  {\n    v9 = 15;\n    sub_10001BB58((_QWORD *)(a1 + 1016), &v9);\n    result = *(float *)(a1 + 440);\n    *(float *)(a1 + 432) = result;\n  }\n  else\n  {\n    sub_10027409C(a1 + 424, 15, a2, a3, a4, *(float *)(a1 + 432), a5, a6, a7);\n  }\n  return result;\n}", "assembly": "; \n; GJBaseGameLayer::updateCameraOffsetX from 0x100299248 to 0x1002992c8 (128 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::playEndAnimationToPos @ 0x1001449b0\n; > PlayLayer::playPlatformerEndAnimationToPos @ 0x100144d5c\n; > CameraTriggerGameObject::triggerObject @ 0x100439680\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, 0x100299248\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10029924c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100299250\nADD             X29, SP, #0x20                                         ; +0xc, 0x100299254\nFMOV            S3, S2                                                 ; +0x10, 0x100299258\nFMOV            S2, S1                                                 ; +0x14, 0x10029925c\nMOV             X19, X0                                                ; +0x18, 0x100299260\nSTR             S0, [X0,#0x1B8]                                        ; +0x1c, 0x100299264\nFCMP            S1, #0.0                                               ; +0x20, 0x100299268\nB.LE            loc_10029929C                                          ; +0x24, 0x10029926c\nMOV             X4, X3                                                 ; +0x28, 0x100299270\nMOV             X3, X2                                                 ; +0x2c, 0x100299274\nMOV             X2, X1                                                 ; +0x30, 0x100299278\nFMOV            S1, S0                                                 ; +0x34, 0x10029927c\nLDR             S0, [X19,#0x1B0]                                       ; +0x38, 0x100299280\nADD             X0, X19, #0x1A8                                        ; +0x3c, 0x100299284\nMOV             W1, #0xF                                               ; +0x40, 0x100299288\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x44, 0x10029928c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x48, 0x100299290\nADD             SP, SP, #0x30 ; '0'                                    ; +0x4c, 0x100299294\nB               sub_10027409C                                          ; +0x50, 0x100299298\nMOV             W8, #0xF                                               ; +0x54, 0x10029929c\nSTR             W8, [SP,#0x20+var_14]                                  ; +0x58, 0x1002992a0\nADD             X0, X19, #0x3F8                                        ; +0x5c, 0x1002992a4\nADD             X1, SP, #0x20+var_14                                   ; +0x60, 0x1002992a8\nBL              sub_10001BB58                                          ; +0x64, 0x1002992ac\nLDR             S0, [X19,#0x1B8]                                       ; +0x68, 0x1002992b0\nSTR             S0, [X19,#0x1B0]                                       ; +0x6c, 0x1002992b4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x70, 0x1002992b8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x74, 0x1002992bc\nADD             SP, SP, #0x30 ; '0'                                    ; +0x78, 0x1002992c0\nRET                                                                    ; +0x7c, 0x1002992c4", "xrefs": ["PlayLayer::playEndAnimationToPos @ 0x1001449b0", "PlayLayer::playPlatformerEndAnimationToPos @ 0x100144d5c", "CameraTriggerGameObject::triggerObject @ 0x100439680"], "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"}