{"type": "func", "start": 4682120, "end": 4682182, "name": "GJBaseGameLayer::updateBGArtSpeed", "pseudocode": "// \n// GJBaseGameLayer::updateBGArtSpeed from 0x477188 to 0x4771c6 (62 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::activateTriggerEffect @ 0x36df32\n// > LevelEditorLayer::updateEditor @ 0x3762b4\n// > EffectGameObject::triggerObject @ 0x3ede06\n// > GJBaseGameLayer::resetLevelVariables @ 0x491b90\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::updateBGArtSpeed(GJBaseGameLayer *a1, float a2, float a3)\n{\n  float v3; // s14\n  float v4; // s11\n  float v5; // s15\n  bool v6; // fzf\n  bool v7; // fnf\n  float v8; // s11\n\n  v3 = a2;\n  v4 = fabsf(a2);\n  v5 = a3;\n  v6 = v4 == 999.0;\n  v7 = v4 < 999.0;\n  v8 = fabsf(a3);\n  if ( !v7 && !v6 )\n    v3 = 0.1;\n  if ( v8 > 999.0 )\n    v5 = 0.1;\n  a1->m_gameState.m_unkFloat5 = v3;\n  a1->m_gameState.m_unkFloat6 = v5;\n}", "assembly": "; \n; GJBaseGameLayer::updateBGArtSpeed from 0x477188 to 0x4771c6 (62 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::activateTriggerEffect @ 0x36df32\n; > LevelEditorLayer::updateEditor @ 0x3762b4\n; > EffectGameObject::triggerObject @ 0x3ede06\n; > GJBaseGameLayer::resetLevelVariables @ 0x491b90\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\nVMOV            S14, R1                                                ; +0x0, 0x477188\nVLDR            S12, =999.0                                            ; +0x4, 0x47718c\nVABS.F32        S11, S14                                               ; +0x8, 0x477190\nVMOV            S15, R2                                                ; +0xc, 0x477194\nVLDR            S13, =0.1                                              ; +0x10, 0x477198\nVCMP.F32        S11, S12                                               ; +0x14, 0x47719c\nVABS.F32        S11, S15                                               ; +0x18, 0x4771a0\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1c, 0x4771a4\nVCMP.F32        S11, S12                                               ; +0x20, 0x4771a8\nIT GT                                                                  ; +0x24, 0x4771ac\nVMOVGT.F32      S14, S13                                               ; +0x26, 0x4771ae\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2a, 0x4771b2\nIT GT                                                                  ; +0x2e, 0x4771b6\nVMOVGT.F32      S15, S13                                               ; +0x30, 0x4771b8\nVSTR            S14, [R0,#0x2B4]                                       ; +0x34, 0x4771bc\nVSTR            S15, [R0,#0x2B8]                                       ; +0x38, 0x4771c0\nBX              LR                                                     ; +0x3c, 0x4771c4", "xrefs": ["LevelEditorLayer::activateTriggerEffect @ 0x36df32", "LevelEditorLayer::updateEditor @ 0x3762b4", "EffectGameObject::triggerObject @ 0x3ede06", "GJBaseGameLayer::resetLevelVariables @ 0x491b90"], "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"}