{"type": "func", "start": 8912888, "end": 8913152, "name": "GJBaseGameLayer::updateZoom", "pseudocode": "// \n// GJBaseGameLayer::updateZoom from 0x87fff8 to 0x880100 (264 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::onPlaytest @ 0x664078\n// > EffectGameObject::triggerObject @ 0x76f990\n// > GJBaseGameLayer::resetCamera @ 0x8801f0\n// > <???> @ 0x84330\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::updateZoom(GJBaseGameLayer *a1, float a2, float a3, int a4, float a5, int a6, int a7)\n{\n  float v7; // s8\n  float v10; // s0\n  GameObjectType ActiveMode; // w2\n  PlayerObject *m_player1; // [xsp+38h] [xbp+38h]\n\n  v7 = a2;\n  if ( a2 <= 0.0 )\n  {\n    v7 = 1.0;\n  }\n  else\n  {\n    v10 = 3.0;\n    if ( v7 >= 3.0 || (v10 = 0.4, v7 <= 0.4) )\n    {\n      v7 = v10;\n      a1->m_gameState.m_targetCameraZoom = v10;\n      if ( a3 <= 0.0 )\n        goto LABEL_11;\nLABEL_5:\n      GJGameState::tweenValue(&a1->m_gameState, a1->m_gameState.m_cameraZoom, v7, 14, a3, a4, a5, a6, a7);\n      goto LABEL_6;\n    }\n  }\n  a1->m_gameState.m_targetCameraZoom = v7;\n  if ( a3 > 0.0 )\n    goto LABEL_5;\nLABEL_11:\n  GJGameState::stopTweenAction(&a1->m_gameState, 14);\n  a1->m_gameState.m_cameraZoom = v7;\nLABEL_6:\n  a1->m_gameState.m_unkUint1 = a3;\n  if ( !a1->m_skipArtReload && a1->m_gameState.m_unkBool7 )\n  {\n    m_player1 = a1->m_player1;\n    ActiveMode = PlayerObject::getActiveMode(m_player1);\n    GJBaseGameLayer::updateDualGround(a1, m_player1, ActiveMode, a3 == 0.0, a3);\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateZoom from 0x87fff8 to 0x880100 (264 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::onPlaytest @ 0x664078\n; > EffectGameObject::triggerObject @ 0x76f990\n; > GJBaseGameLayer::resetCamera @ 0x8801f0\n; > <???> @ 0x84330\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\nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x87fff8\nFCMPE           S0, #0.0                                               ; +0x4, 0x87fffc\nMOV             W6, W1                                                 ; +0x8, 0x880000\nMOV             X29, SP                                                ; +0xc, 0x880004\nSTP             D8, D9, [SP,#0x40+var_28]                              ; +0x10, 0x880008\nSTR             X19, [SP,#0x40+var_30]                                 ; +0x14, 0x88000c\nFMOV            S8, S0                                                 ; +0x18, 0x880010\nMOV             X19, X0                                                ; +0x1c, 0x880014\nFMOV            S9, S1                                                 ; +0x20, 0x880018\nMOV             W5, W2                                                 ; +0x24, 0x88001c\nFMOV            S3, S2; float                                          ; +0x28, 0x880020\nMOV             W4, W3; int                                            ; +0x2c, 0x880024\nB.LS            loc_8800F8                                             ; +0x30, 0x880028\nFMOV            S0, #3.0                                               ; +0x34, 0x88002c\nFCMPE           S8, S0                                                 ; +0x38, 0x880030\nB.MI            loc_880090                                             ; +0x3c, 0x880034\nB.PL            loc_88009C                                             ; +0x40, 0x880038\nFCMPE           S9, #0.0                                               ; +0x44, 0x88003c\nSTR             S8, [X19,#0x1AC]                                       ; +0x48, 0x880040\nB.LE            loc_8800AC                                             ; +0x4c, 0x880044\nLDR             S0, [X19,#0x1A8]; float                                ; +0x50, 0x880048\nADD             X0, X19, #0x1A8; this                                  ; +0x54, 0x88004c\nFMOV            S1, S8; float                                          ; +0x58, 0x880050\nMOV             W1, #0xE; int                                          ; +0x5c, 0x880054\nFMOV            S2, S9; float                                          ; +0x60, 0x880058\nMOV             W2, W6; int                                            ; +0x64, 0x88005c\nMOV             W3, W5; int                                            ; +0x68, 0x880060\nBL              _ZN11GJGameState10tweenValueEffififii; GJGameState::tweenValue(float,float,int,float,int,float,int,int) ; +0x6c, 0x880064\nADD             X0, X19, #3,LSL#12                                     ; +0x70, 0x880068\nSTR             S9, [X19,#0x2F4]                                       ; +0x74, 0x88006c\nLDRB            W0, [X0,#0x285]                                        ; +0x78, 0x880070\nCBNZ            W0, loc_880080                                         ; +0x7c, 0x880074\nLDRB            W0, [X19,#0x310]                                       ; +0x80, 0x880078\nCBNZ            W0, loc_8800C0                                         ; +0x84, 0x88007c\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x88, 0x880080\nLDP             D8, D9, [SP,#0x40+var_28]                              ; +0x8c, 0x880084\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x90, 0x880088\nRET                                                                    ; +0x94, 0x88008c\nLDR             S0, =0x3ECCCCCD                                        ; +0x98, 0x880090\nFCMPE           S8, S0                                                 ; +0x9c, 0x880094\nB.GT            loc_88003C                                             ; +0xa0, 0x880098\nFMOV            S8, S0                                                 ; +0xa4, 0x88009c\nFCMPE           S9, #0.0                                               ; +0xa8, 0x8800a0\nSTR             S8, [X19,#0x1AC]                                       ; +0xac, 0x8800a4\nB.GT            loc_880048                                             ; +0xb0, 0x8800a8\nADD             X0, X19, #0x1A8; this                                  ; +0xb4, 0x8800ac\nMOV             W1, #0xE; int                                          ; +0xb8, 0x8800b0\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0xbc, 0x8800b4\nSTR             S8, [X19,#0x1A8]                                       ; +0xc0, 0x8800b8\nB               loc_880068                                             ; +0xc4, 0x8800bc\nLDR             X1, [X19,#0xDF8]                                       ; +0xc8, 0x8800c0\nSTR             X1, [X29,#0x40+var_8]                                  ; +0xcc, 0x8800c4\nMOV             X0, X1; this                                           ; +0xd0, 0x8800c8\nBL              _ZN12PlayerObject13getActiveModeEv; PlayerObject::getActiveMode(void) ; +0xd4, 0x8800cc\nMOV             W2, W0; int                                            ; +0xd8, 0x8800d0\nFCMP            S9, #0.0                                               ; +0xdc, 0x8800d4\nLDR             X1, [X29,#0x40+var_8]; PlayerObject *                  ; +0xe0, 0x8800d8\nFMOV            S0, S9; float                                          ; +0xe4, 0x8800dc\nLDP             D8, D9, [SP,#0x40+var_28]                              ; +0xe8, 0x8800e0\nMOV             X0, X19; this                                          ; +0xec, 0x8800e4\nLDR             X19, [SP,#0x40+var_30]                                 ; +0xf0, 0x8800e8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xf4, 0x8800ec\nCSET            W3, EQ; bool                                           ; +0xf8, 0x8800f0\nB               _ZN15GJBaseGameLayer16updateDualGroundEP12PlayerObjectibf; GJBaseGameLayer::updateDualGround(PlayerObject *,int,bool,float) ; +0xfc, 0x8800f4\nFMOV            S8, #1.0                                               ; +0x100, 0x8800f8\nB               loc_88003C                                             ; +0x104, 0x8800fc", "xrefs": ["LevelEditorLayer::onPlaytest @ 0x664078", "EffectGameObject::triggerObject @ 0x76f990", "GJBaseGameLayer::resetCamera @ 0x8801f0", "<???> @ 0x84330"], "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"}