{"type": "func", "start": 4682192, "end": 4682258, "name": "GJBaseGameLayer::updateMGArtSpeed", "pseudocode": "// \n// GJBaseGameLayer::updateMGArtSpeed from 0x4771d0 to 0x477212 (66 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::activateTriggerEffect @ 0x36dd32\n// > EffectGameObject::triggerObject @ 0x3ede2e\n// > GJBaseGameLayer::resetLevelVariables @ 0x491b9c\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::updateMGArtSpeed(GJBaseGameLayer *a1, float a2, float a3)\n{\n  float v3; // s14\n  float v4; // s15\n\n  v3 = a2;\n  v4 = a3;\n  if ( fabsf(a2) > 999.0 )\n    v3 = 0.3;\n  a1->m_gameState.m_unkFloat7 = v3;\n  if ( fabsf(a3) > 999.0 )\n    v4 = 0.5;\n  a1->m_gameState.m_unkFloat8 = v4;\n}", "assembly": "; \n; GJBaseGameLayer::updateMGArtSpeed from 0x4771d0 to 0x477212 (66 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::activateTriggerEffect @ 0x36dd32\n; > EffectGameObject::triggerObject @ 0x3ede2e\n; > GJBaseGameLayer::resetLevelVariables @ 0x491b9c\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, 0x4771d0\nVLDR            S13, =999.0                                            ; +0x4, 0x4771d4\nVABS.F32        S12, S14                                               ; +0x8, 0x4771d8\nVMOV            S15, R2                                                ; +0xc, 0x4771dc\nVCMP.F32        S12, S13                                               ; +0x10, 0x4771e0\nVLDR            S12, =0.3                                              ; +0x14, 0x4771e4\nVMRS            APSR_nzcv, FPSCR                                       ; +0x18, 0x4771e8\nIT GT                                                                  ; +0x1c, 0x4771ec\nVMOVGT.F32      S14, S12                                               ; +0x1e, 0x4771ee\nVABS.F32        S12, S15                                               ; +0x22, 0x4771f2\nVSTR            S14, [R0,#0x2BC]                                       ; +0x26, 0x4771f6\nVCMP.F32        S12, S13                                               ; +0x2a, 0x4771fa\nVMOV.F32        S13, #0.5                                              ; +0x2e, 0x4771fe\nVMRS            APSR_nzcv, FPSCR                                       ; +0x32, 0x477202\nIT GT                                                                  ; +0x36, 0x477206\nVMOVGT.F32      S15, S13                                               ; +0x38, 0x477208\nVSTR            S15, [R0,#0x2C0]                                       ; +0x3c, 0x47720c\nBX              LR                                                     ; +0x40, 0x477210", "xrefs": ["LevelEditorLayer::activateTriggerEffect @ 0x36dd32", "EffectGameObject::triggerObject @ 0x3ede2e", "GJBaseGameLayer::resetLevelVariables @ 0x491b9c"], "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"}